FPhysicsFieldInstance

An instance of a Physics Field.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsField/PhysicsFieldComponent.h

Include

#include "PhysicsField/PhysicsFieldComponent.h"

Syntax

class FPhysicsFieldInstance

Remarks

An instance of a Physics Field.

Variables

Name Description

Public variable

TArray< FVector...

 

BoundsMax

Max Bounds for each target/clipmap

Public variable

TArray< FVector...

 

BoundsMin

Min Bounds for each target/clipmap

Public variable

TArray< FFieldS...

 

FieldCommands

List of all the field commands in the world

Public variable

FPhysicsFieldRe...

 

FieldResource

The field system resource.

Public variable

TArray< int32 >

 

NodesOffsets

Nodes offsets in the paramter array

Public variable

TArray< float >

 

NodesParams

Nodes input parameters and connection

Public variable

TStaticArray< i...

 

TargetsOffsets

Targets offsets in the nodes array

Constructors

Name Description

Public function

FPhysicsFieldInstance()

Default constructor.

Destructors

Name Description

Public function

~FPhysicsFieldInstance()

Destructor.

Functions

Name Description

Public function Static

void

 

BuildNodeBounds

(
    FFieldNodeBase* FieldNode,
    FVector& MinBounds,
    FVector& MaxBounds
)

Update the bounds given a node

Public function

void

 

BuildNodeParams

(
    FFieldNodeBase* FieldNode,
    const TMap< FFieldNodeBase*, f...,
    const float PreviousTime
)

Update the offsets and params given a node

Public function

void

 

InitInstance

(
    const TArray< EFieldPhysicsType >&...
)

Initializes the instance for the given resource.

Public function

void

 

ReleaseInstance()

Release the resource of the instance.

Public function

void

 

UpdateInstance

(
    const float TimeSeconds
)

Update the datas based on the new bounds and commands

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss