Struct gltf_json::animation::Target
[−]
[src]
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
extensions: Target
Extension specific data.
extras: Extras
Optional application specific data.
node: Index<Node>
The index of the node to target.
path: Checked<TrsProperty>
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[src]
fn clone(&self) -> Target[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Target[src]
impl Validate for Target[src]
fn validate_minimally<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), [src]
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
Validates only the invariants required for the library to function safely.
fn validate_completely<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), [src]
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
Validates the data against the glTF 2.0 specification. Read more