Class AnimationSampler
Inherited Members
Namespace: Unity.Cloud.Gltfast.Objects
Assembly: Unity.Cloud.Gltfast.dll
Syntax
[MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
public class AnimationSampler
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 AnimationSamplerExtensions Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| AnimationSamplerExtensions |
See Also
Extras
Application-specific data.
Declaration
[JsonPropertyName("extras")]
[JsonConverter(typeof(ExtrasConverter))]
public ExtrasContainer Extras { get; set; }
Property Value
| Type | Description |
|---|---|
| ExtrasContainer |
See Also
Input
The index of an accessor containing keyframe input values, e.G., time.
That accessor must have componentType FLOAT. The values represent time in
seconds with time[0] >= 0.0, and strictly increasing values,
i.e., time[n + 1] > time[n]
Declaration
[JsonPropertyName("input")]
public int? Input { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Interpolation
Interpolation algorithm. When an animation targets a node's rotation,
and the animation's interpolation is \"LINEAR\", spherical linear
interpolation (slerp) should be used to interpolate quaternions. When
interpolation is \"STEP\", animated value remains constant to the value
of the first point of the timeframe, until the next timeframe.
Declaration
[JsonPropertyName("interpolation")]
[JsonConverter(typeof(InterpolationValueConverter))]
public EnumOrRawValue<Interpolation> Interpolation { get; set; }
Property Value
| Type | Description |
|---|---|
| EnumOrRawValue<Interpolation> |
Output
The index of an accessor, containing keyframe output values. Output and input
accessors must have the same count. When sampler is used with TRS target,
output accessor's componentType must be FLOAT.
Declaration
[JsonPropertyName("output")]
public int? Output { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |