Navigation
API > API/Plugins > API/Plugins/AnimToTexture
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataAsset
- UPrimaryDataAsset
- UAnimToTextureDataAsset
References
| Module | AnimToTexture |
| Header | /Engine/Plugins/Experimental/AnimToTexture/Source/AnimToTexture/Public/AnimToTextureDataAsset.h |
| Include | #include "AnimToTextureDataAsset.h" |
Syntax
UCLASS&40;Blueprintable, BlueprintType&41;
class UAnimToTextureDataAsset : public UPrimaryDataAsset
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | AnimationIndex | AnimationIndex Index of the animation to play. | |
| TArray< FAnimToTextureAnimInfo > | Animations | ||
| TArray< FAnimToTextureAnimSequenceInfo > | AnimSequences | ||
| FName | AttachToSocket | Bone used for Rigid Binding. | |
| bool | bAutoPlay | Material Layer Static Switches AutoPlay will use Engine Time for driving the animation. | |
| bool | bEnforcePowerOfTwo | Enforce Power Of Two on texture resolutions. | |
| FVector3f | BoneMinBBox | ||
| TSoftObjectPtr< UTexture2D > | BonePositionTexture | Texture for storing bone positions This is only used on Bone Mode | |
| TSoftObjectPtr< UTexture2D > | BoneRotationTexture | Texture for storing bone rotations This is only used on Bone Mode | |
| int32 | BoneRowsPerFrame | ||
| FVector3f | BoneSizeBBox | ||
| int32 | BoneWeightRowsPerFrame | ||
| TSoftObjectPtr< UTexture2D > | BoneWeightTexture | Texture for storing vertex/bone weighting This is only used on Bone Mode | |
| int32 | Frame | Frame to play When not using AutoPlay, user is responsible of setting the frame. | |
| int32 | MaxHeight | Texture Max resolution of the texture. A smaller size will be used if the data fits. | |
| int32 | MaxWidth | Max resolution of the texture. A smaller size will be used if the data fits. | |
| EAnimToTextureMode | Mode | Storage Mode. | |
| EAnimToTextureNumBoneInfluences | NumBoneInfluences | Number of Bone Influences for deformation. | |
| int32 | NumBones | Total Number of Bones | |
| int32 | NumDriverTriangles | Number of Driver Triangles Each StaticMesh Vertex will be influenced by N SkeletalMesh (Driver) Triangles. | |
| int32 | NumFrames | Info Total Number of Frames in all animations | |
| EAnimToTexturePrecision | Precision | Texture Precision | |
| FTransform | RootTransform | Animation Adds transformation to baked textures. | |
| float | SampleRate | ||
| float | Sigma | Inverse Distance Weighting This exponent value will be used for computing weights for the DriverTriangles. | |
| int32 | SkeletalLODIndex | SkeletalMesh LOD to bake. | |
| TSoftObjectPtr< USkeletalMesh > | SkeletalMesh | SkeletalMesh to bake animations from. | |
| int32 | StaticLODIndex | StaticMesh LOD to bake to. | |
| TSoftObjectPtr< UStaticMesh > | StaticMesh | StaticMesh to bake to. | |
| int32 | UVChannel | StaticMesh UVChannel Index for storing vertex information. | |
| FVector3f | VertexMinBBox | ||
| TSoftObjectPtr< UTexture2D > | VertexNormalTexture | Texture for storing vertex normals This is only used on Vertex Mode | |
| TSoftObjectPtr< UTexture2D > | VertexPositionTexture | Texture for storing vertex positions This is only used on Vertex Mode | |
| int32 | VertexRowsPerFrame | ||
| FVector3f | VertexSizeBBox |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UTexture2D * | |||
| UTexture2D * | |||
| UTexture2D * | |||
| USkeletalMesh * | |||
| UStaticMesh * | |||
| AssetType * | GetAsset
(
const TSoftObjectPtr< AssetType >& AssetPointer |
If we weren't in a plugin, we could unify this in a base class. | |
| UTexture2D * | |||
| UTexture2D * | |||
| UTexture2D * | |||
| int32 | GetIndexFromAnimSequence
(
const UAnimSequence* Sequence |
Finds AnimSequence Index in the Animations Array. | |
| USkeletalMesh * | |||
| UStaticMesh * | |||
| UTexture2D * | |||
| UTexture2D * | |||
| void | ResetInfo () |