Struct gltf_json::animation::Target []

pub struct Target {
    pub extensions: Target,
    pub extras: Extras,
    pub node: Index<Node>,
    pub path: Checked<TrsProperty>,
}

The index of the node and TRS property that an animation channel targets.

Fields

Extension specific data.

Optional application specific data.

The index of the node to target.

The name of the node's TRS property to modify or the 'weights' of the morph targets it instantiates.

Trait Implementations

impl Clone for Target

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Target

Formats the value using the given formatter.

impl Validate for Target

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification.