pub enum ClipTarget {
Joint {
skeleton: Entity,
joint: JointId,
},
Morph {
geometry: Entity,
morph: MorphId,
},
Control {
name: String,
},
DrawGroup {
scope: String,
group: u32,
},
MaterialParameter {
materials: Vec<Entity>,
name: String,
},
}Expand description
What a channel drives.
Variants§
Joint
A joint of the skeleton held by skeleton.
Morph
A morph target of the morph set held by geometry (a prototype’s core.morphs).
Control
A source’s scalar control by its name (its meaning is its source’s).
DrawGroup
A draw group in a source-defined scope. Core supports groups 0..64: sources with more groups must refuse by name rather than truncate.
MaterialParameter
A named parameter on resolved material entities. Each target must carry the same-width named default in core.material_parameters.
Trait Implementations§
Source§impl Clone for ClipTarget
impl Clone for ClipTarget
Source§impl Debug for ClipTarget
impl Debug for ClipTarget
Source§impl<'de> Deserialize<'de> for ClipTarget
impl<'de> Deserialize<'de> for ClipTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ClipTarget
Source§impl Ord for ClipTarget
impl Ord for ClipTarget
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ClipTarget
impl PartialEq for ClipTarget
Source§impl PartialOrd for ClipTarget
impl PartialOrd for ClipTarget
Source§impl Serialize for ClipTarget
impl Serialize for ClipTarget
impl StructuralPartialEq for ClipTarget
Auto Trait Implementations§
impl Forget for ClipTarget
impl Freeze for ClipTarget
impl RefUnwindSafe for ClipTarget
impl Send for ClipTarget
impl Sync for ClipTarget
impl Unpin for ClipTarget
impl UnsafeUnpin for ClipTarget
impl UnwindSafe for ClipTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.