Struct roblox::instance::AnimationTrack [−][src]
pub struct AnimationTrack<'a> {Show 25 fields
pub animation: Option<InstanceRef>,
pub is_playing: bool,
pub length: f32,
pub looped: bool,
pub priority: AnimationPriority,
pub speed: f32,
pub time_position: f32,
pub weight_current: f32,
pub weight_target: f32,
pub archivable: bool,
pub class_name: &'a str,
pub name: &'a str,
pub parent: Option<InstanceRef>,
pub roblox_locked: bool,
pub source_asset_id: i64,
pub did_loop: RBXScriptSignal<()>,
pub keyframe_reached: RBXScriptSignal<&'a str>,
pub stopped: RBXScriptSignal<()>,
pub ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>,
pub attribute_changed: RBXScriptSignal<&'a str>,
pub changed: RBXScriptSignal<&'a str>,
pub child_added: RBXScriptSignal<Option<InstanceRef>>,
pub child_removed: RBXScriptSignal<Option<InstanceRef>>,
pub descendant_added: RBXScriptSignal<Option<InstanceRef>>,
pub descendant_removing: RBXScriptSignal<Option<InstanceRef>>,
}Expand description
The AnimationTrack Instance Class
Fields
animation: Option<InstanceRef>is_playing: boollength: f32looped: boolpriority: AnimationPriorityspeed: f32time_position: f32weight_current: f32weight_target: f32archivable: boolInherited from Instance
class_name: &'a strInherited from Instance
name: &'a strInherited from Instance
parent: Option<InstanceRef>Inherited from Instance
roblox_locked: boolInherited from Instance
source_asset_id: i64Inherited from Instance
did_loop: RBXScriptSignal<()>keyframe_reached: RBXScriptSignal<&'a str>stopped: RBXScriptSignal<()>ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>Inherited from Instance
attribute_changed: RBXScriptSignal<&'a str>Inherited from Instance
changed: RBXScriptSignal<&'a str>Inherited from Instance
child_added: RBXScriptSignal<Option<InstanceRef>>Inherited from Instance
child_removed: RBXScriptSignal<Option<InstanceRef>>Inherited from Instance
descendant_added: RBXScriptSignal<Option<InstanceRef>>Inherited from Instance
descendant_removing: RBXScriptSignal<Option<InstanceRef>>Inherited from Instance
Implementations
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a> RefUnwindSafe for AnimationTrack<'a>
impl<'a> Send for AnimationTrack<'a>
impl<'a> Sync for AnimationTrack<'a>
impl<'a> Unpin for AnimationTrack<'a>
impl<'a> UnwindSafe for AnimationTrack<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more