Struct ambient_api_core::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) -> Self
pub fn from_entity(entity: EntityId) -> Self
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