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: bool
length: f32
looped: bool
priority: AnimationPriority
speed: f32
time_position: f32
weight_current: f32
weight_target: f32
archivable: bool
Inherited from Instance
class_name: &'a str
Inherited from Instance
name: &'a str
Inherited from Instance
parent: Option<InstanceRef>
Inherited from Instance
roblox_locked: bool
Inherited from Instance
source_asset_id: i64
Inherited 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