#include <RadientAnimation.h>
Public Attributes | |
| Uint32 | TargetIndex = InvalidRadientAnimationTargetIndex |
| const Char * | Property = nullptr |
| Uint32 | FirstArrayElement = 0 |
| Uint32 | SamplerIndex = InvalidRadientAnimationSamplerIndex |
Connects one clip sampler to a property of one symbolic target.
The sampler value type and array length must be compatible with the target property. FirstArrayElement enables a sampler to address a contiguous range within an array property, such as all or part of a morph-weight array. Creation validates indices, range overflow, overlap, and consistent native types among ranges of one target/property. Whether the property exists and accepts the sampler layout is intentionally validated later, when binding.
| Uint32 Diligent::RadientAnimationChannelDesc::FirstArrayElement = 0 |
First destination array element addressed by this channel. The channel covers the half-open range [FirstArrayElement, FirstArrayElement + RadientAnimationClipDesc::pSamplers[SamplerIndex].Value.ArraySize). This is normally zero for a non-array property. Elements are complete native values, so one FLOAT3 occupies one array element rather than three.
For example, a FLOAT sampler with ArraySize 4 and FirstArrayElement 8 addresses morph weights [8, 12). Another channel may address [12, 16), but [10, 14) would overlap and is invalid.
| const Char* Diligent::RadientAnimationChannelDesc::Property = nullptr |
Canonical property name in the schema selected by RadientAnimationClipDesc::pTargets[TargetIndex].Schema. Must be non-null and nonempty. Names are exact and case-sensitive. Clip creation copies the string; destination-schema compatibility is established when binding.
| Uint32 Diligent::RadientAnimationChannelDesc::SamplerIndex = InvalidRadientAnimationSamplerIndex |
Zero-based index into RadientAnimationClipDesc::pSamplers. Must be less than RadientAnimationClipDesc::SamplerCount. Multiple compatible channels may share one sampler by using the same index.
| Uint32 Diligent::RadientAnimationChannelDesc::TargetIndex = InvalidRadientAnimationTargetIndex |
Zero-based index into RadientAnimationClipDesc::pTargets. Must be less than RadientAnimationClipDesc::TargetCount.