class
VectorField
Represents a three dimensional field of vectors.
It is represented by spatial bounds which are split into a grid of values with user-defined density, where each grid cell is assigned a vector.
Public
Constructors
VectorField
VectorField() = default
*********************************************************************
Methods
staticCreate
Creates a new vector field.
- desc
- Description of the vector field to create.
- values
- Values to assign to the vector field. Number of entries must match countX * countY * countZ.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
~TVectorField<IsRenderProxy>
virtual ~TVectorField<IsRenderProxy>() = default
GetTexture
TextureType GetTexture() const
Returns the internal texture representing the vector field.
GetDesc
Returns a structure describing the properties of the object.
Internal
Methods
staticCreatePtrInternal
static SPtr<VectorField> CreatePtrInternal(const VECTOR_FIELD_DESC &desc, const Vector<Vector3> &values)
Same as create() excepts it creates a pointer to the vector field instead of a handle.
staticCreateEmptyInternal
static SPtr<VectorField> CreateEmptyInternal()
Creates the resource without initializing it.
Protected
Constructors
VectorField
Methods
CreateRenderProxy
Creates an object that contains render thread specific data and methods for this object.
Can be null if such object is not required.
Fields
mDesc
VECTOR_FIELD_DESC mDesc
mTexture
TextureType mTexture