Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/VectorField
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVectorField
- UVectorFieldStatic
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/VectorField/VectorFieldStatic.h |
| Include | #include "VectorField/VectorFieldStatic.h" |
Syntax
class UVectorFieldStatic : public UVectorField
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< class UAssetImportData > | AssetImportData | ||
| bool | bAllowCPUAccess | Whether to keep vector field data accessible to the CPU. | |
| FVectorFieldResource * | Resource | The resource for this vector field. | |
| int32 | SizeX | Size of the vector field volume. | |
| int32 | SizeY | Size of the vector field volume. | |
| int32 | SizeZ | Size of the vector field volume. | |
| FByteBulkData | SourceData | Source vector data. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UVectorFieldStatic
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | FilteredSample
(
const FVector& SamplePosition, |
||
| FRHITexture * | Returns a reference to a 3D texture handle for the GPU data. | ||
| bool | HasCPUData () |
||
| void | InitResource () |
Initialize resources. | |
| TConstArrayView< InternalFloatType > | ReadCPUData () |
||
| FVector | Sample
(
const FIntVector& SamplePosition |
||
| void | Sets the bAllowCPUAccess flag and calls UpdateCPUData(). | ||
| void | UpdateCPUData
(
bool bDiscardData |
Takes a local copy of the source bulk data so that it is readable at runtime on the CPU. |
Overridden from UVectorField
| Type | Name | Description | |
|---|---|---|---|
| void | InitInstance
(
FVectorFieldInstance* Instance, |
Initializes an instance for use with this vector field. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects | |
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Typedefs
| Name | Description |
|---|---|
| InternalFloatType |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | SourceFilePath_DEPRECATED |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Please call UpdateCPUData(bool bDiscardData) instead and choose if the internal data should be discarded or not |