Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientMorphTargetDesc Struct Reference

#include <RadientMorphTargets.h>

Public Attributes

const Char * Name = nullptr
 Optional target name. Radient copies the string during mesh creation.
const RadientMorphTargetAttributeDescpAttributes = nullptr
Uint32 AttributeCount = 0
 Number of elements in pAttributes.
Float32 DefaultWeight = 0.f

Detailed Description

Immutable description of one mesh morph target.

Attributes omitted from the array contribute zero deltas. Attribute semantics within one target must be unique. Morph target weights are not implicitly clamped to any range.

Member Data Documentation

◆ DefaultWeight

Float32 Diligent::RadientMorphTargetDesc::DefaultWeight = 0.f

Default weight used when creating mutable weights for the mesh. Must be finite. The value is not otherwise clamped or restricted.

◆ pAttributes

const RadientMorphTargetAttributeDesc* Diligent::RadientMorphTargetDesc::pAttributes = nullptr

Array of AttributeCount morph-target attributes. Must not be null when AttributeCount is nonzero.