Struct ambient_api::animation::AnimationNodeRef
source · pub struct AnimationNodeRef(/* private fields */);
Expand description
An animation node. Used in the animation player.
Implementations§
source§impl AnimationNodeRef
impl AnimationNodeRef
sourcepub fn get_entity_id(&self) -> EntityId
pub fn get_entity_id(&self) -> EntityId
Get the entity id of this node
sourcepub fn from_entity(entity: EntityId) -> AnimationNodeRef
pub fn from_entity(entity: EntityId) -> AnimationNodeRef
Use an existing node
Trait Implementations§
source§impl AsRef<AnimationNodeRef> for BlendNodeRef
impl AsRef<AnimationNodeRef> for BlendNodeRef
source§fn as_ref(&self) -> &AnimationNodeRef
fn as_ref(&self) -> &AnimationNodeRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<AnimationNodeRef> for PlayClipFromUrlNodeRef
impl AsRef<AnimationNodeRef> for PlayClipFromUrlNodeRef
source§fn as_ref(&self) -> &AnimationNodeRef
fn as_ref(&self) -> &AnimationNodeRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for AnimationNodeRef
impl Clone for AnimationNodeRef
source§fn clone(&self) -> AnimationNodeRef
fn clone(&self) -> AnimationNodeRef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnimationNodeRef
impl Debug for AnimationNodeRef
impl Copy for AnimationNodeRef
Auto Trait Implementations§
impl RefUnwindSafe for AnimationNodeRef
impl Send for AnimationNodeRef
impl Sync for AnimationNodeRef
impl Unpin for AnimationNodeRef
impl UnwindSafe for AnimationNodeRef
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
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.