Class AnimationChannelTarget
Inherited Members
Namespace: Unity.Cloud.Gltfast.Objects
Assembly: Unity.Cloud.Gltfast.dll
Syntax
[MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
public class AnimationChannelTarget
Properties
AdditionalProperties
Additional properties on glTF JSON objects. Those properties may have been added by a new, unsupported version of the glTF specification. For extending glTF, please use extensions or extras instead.
Declaration
[JsonIgnore]
public ReadOnlyProperties AdditionalProperties { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyProperties |
Extensions
JSON object with extension-specific objects.
Declaration
[JsonPropertyName("extensions")]
public AnimationChannelTargetExtensions Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| AnimationChannelTargetExtensions |
See Also
Extras
Application-specific data.
Declaration
[JsonPropertyName("extras")]
[JsonConverter(typeof(ExtrasConverter))]
public ExtrasContainer Extras { get; set; }
Property Value
| Type | Description |
|---|---|
| ExtrasContainer |
See Also
Node
The index of the node to target.
Declaration
[JsonPropertyName("node")]
public int? Node { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Optional per the glTF specification. null signals an absent target; when undefined, the animated object may be defined by an extension.
Path
The name of the node’s TRS property to animate, or the "weights" of the Morph Targets it instantiates.
Declaration
[JsonPropertyName("path")]
[JsonConverter(typeof(AnimationPathValueConverter))]
public EnumOrRawValue<AnimationPath> Path { get; set; }
Property Value
| Type | Description |
|---|---|
| EnumOrRawValue<AnimationPath> |
Remarks
For the "translation" property, the values that are provided by the sampler are the translation along the X, Y, and Z axes. For the "rotation" property, the values are a quaternion in the order (x, y, z, w), where w is the scalar. For the "scale" property, the values are the scaling factors along the X, Y, and Z axes.