BlendSpaceSampleData
Overview
BlendSpaceSampleData is a data structure that contains information about individual Sample Points used when constructing a blend space in the animation system.
A blend space provides the functionality to naturally blend multiple animations based on various parameter values such as the character's speed, movement direction, or state, thereby generating the final pose or motion. This data helps the character's movements to transition smoothly and flexibly by defining the conditions under which each animation influences the blend and to what extent.
Constructors
new
Creates a new BlendSpaceSampleData instance.
Parameters
AnimationTrack InAnimTrack
The animation track to play at this sample point.
Vector3 InSampleValue
The value of a sample position within blend space.
Return
BlendSpaceSampleData
The created object.
Code Samples
local SampleData = BlendSpaceSampleData.new(AnimTrack, Vector3.new(0, 0, 0))Properties
AnimTrack
AnimationTrack
The animation track associated with this sample data.
Code Samples
SampleValue
Vector3
A vector that specifies where a sample is placed within the blend space. This value is very important in determining how animations are blended according to their movement or spatial logic.
Code Samples
Methods
Last updated