BlendSpaceSampleSata

Overview

BlendSpaceSampleData represents the data structure used for handling sample points in a blend space, typically used in animation systems. It consists of an animation track and a corresponding vector value that defines a sample's position in space.

Description

This object is used in animation blending to provide a track reference and a location in a 3D space. It is essential when defining blend spaces for creating smooth transitions between animations.

Properties

AnimTrack

AnimationTrack

The animation track associated with the sample data, which provides the source of animation for this sample.

Code Samples

local AnimTrack = SampleData.AnimTrack

SampleValue

Vector3

A vector that specifies the position of the sample in the blend space. This value is critical for determining how animations are blended based on movement or spatial logic.

Code Samples

local SampleValue = SampleData.SampleValue

Constructors

new

Creates a new instance of BlendSpaceSampleData.

Parameters

AnimationTrack InAnimTrack

The animation track to associate with this sample.

Vector3 InSampleValue

The sample's position in the blend space.

Return

BlendSpaceSampleData

The newly created blend space sample data instance.

Code Samples

local SampleData = BlendSpaceSampleData.new(AnimTrack, Vector3.new(0, 0, 0))

Methods

Last updated