![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VectorField.h>
Public Member Functions | |
| FVectorFieldInstance () | |
| ~FVectorFieldInstance () | |
| void | Init (FVectorFieldResource *InResource, bool bInstanced) |
| void | UpdateTransforms (const FMatrix &LocalToWorld) |
Public Attributes | |
| TRefCountPtr< FVectorFieldResource > | Resource |
| FBox | WorldBounds |
| FMatrix | VolumeToWorldNoScale |
| FMatrix | WorldToVolume |
| FMatrix | VolumeToWorld |
| float | Tightness |
| float | Intensity |
| int32 | Index |
| uint32 | bTileX: 1 |
| uint32 | bTileY: 1 |
| uint32 | bTileZ: 1 |
| uint32 | bUseFixDT: 1 |
An instance of a vector field.
|
inline |
Default constructor.
| FVectorFieldInstance::~FVectorFieldInstance | ( | ) |
Destructor.
| void FVectorFieldInstance::Init | ( | FVectorFieldResource * | InResource, |
| bool | bInstanced | ||
| ) |
Initializes the instance for the given resource.
| InResource | - The resource to be used by this instance. |
| bInstanced | - true if the resource is instanced and ownership is being transferred. |
Update the transforms for this vector field instance.
| LocalToWorld | - Transform from local space to world space. |
| uint32 FVectorFieldInstance::bTileX |
Tile vector field in x axis?
| uint32 FVectorFieldInstance::bTileY |
Tile vector field in y axis?
| uint32 FVectorFieldInstance::bTileZ |
Tile vector field in z axis?
| uint32 FVectorFieldInstance::bUseFixDT |
Use fix delta time in the simulation?
| int32 FVectorFieldInstance::Index |
Index of the vector field in the world.
| float FVectorFieldInstance::Intensity |
The amount by which to scale vectors for this instance of the field.
| TRefCountPtr<FVectorFieldResource> FVectorFieldInstance::Resource |
The vector field resource. Kept an active ref count to manage release with UVectorFieldStatic.
| float FVectorFieldInstance::Tightness |
How tightly particles adhere to the vector field. 0: Vectors act like forces, 1: Vectors act like velocities.
| FMatrix FVectorFieldInstance::VolumeToWorld |
Transform from the vector field's local space to world space.
| FMatrix FVectorFieldInstance::VolumeToWorldNoScale |
Transform from the vector field's local space to world space, no scaling is applied.
| FBox FVectorFieldInstance::WorldBounds |
Bounds of the vector field in world space.
| FMatrix FVectorFieldInstance::WorldToVolume |
Tra32nsform from world space to the vector field's local space.