pub trait IAnimationPlayableAssetMethods: IAnimationPlayableAsset {
Show 31 methods
// Provided methods
fn get_position(self) -> Vector3 { ... }
fn set_position(self, value: impl Into<Vector3>) { ... }
fn get_rotation(self) -> Quaternion { ... }
fn set_rotation(self, value: impl Into<Quaternion>) { ... }
fn get_euler_angles(self) -> Vector3 { ... }
fn set_euler_angles(self, value: impl Into<Vector3>) { ... }
fn get_use_track_match_fields(self) -> bool { ... }
fn set_use_track_match_fields(self, value: impl Into<bool>) { ... }
fn get_match_target_fields(self) -> MatchTargetFields { ... }
fn set_match_target_fields(self, value: impl Into<MatchTargetFields>) { ... }
fn get_remove_start_offset(self) -> bool { ... }
fn set_remove_start_offset(self, value: impl Into<bool>) { ... }
fn get_apply_foot_ik(self) -> bool { ... }
fn set_apply_foot_ik(self, value: impl Into<bool>) { ... }
fn get_loop(self) -> AnimationPlayableAsset_LoopMode { ... }
fn set_loop(self, value: impl Into<AnimationPlayableAsset_LoopMode>) { ... }
fn get_has_root_transforms(self) -> bool { ... }
fn get_applied_offset_mode(self) -> AppliedOffsetMode { ... }
fn set_applied_offset_mode(self, value: impl Into<AppliedOffsetMode>) { ... }
fn get_clip(self) -> AnimationClip { ... }
fn set_clip(self, value: impl Into<AnimationClip>) { ... }
fn get_duration(self) -> f64 { ... }
fn get_outputs(self) -> IEnumerable_1<PlayableBinding> { ... }
fn create_playable(
self,
graph: impl Into<PlayableGraph>,
go: impl Into<GameObject>,
) -> Playable { ... }
fn get_clip_caps(self) -> ClipCaps { ... }
fn reset_offsets(self) { ... }
fn gather_properties(
self,
director: impl Into<PlayableDirector>,
driver: impl Into<IPropertyCollector>,
) { ... }
fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self) { ... }
fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self) { ... }
fn on_upgrade_from_version(self, old_version: impl Into<i32>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_position(self) -> Vector3
fn get_position(self) -> Vector3
get_position() overload
Sourcefn set_position(self, value: impl Into<Vector3>)
fn set_position(self, value: impl Into<Vector3>)
set_position(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_rotation(self) -> Quaternion
fn get_rotation(self) -> Quaternion
get_rotation() overload
Sourcefn set_rotation(self, value: impl Into<Quaternion>)
fn set_rotation(self, value: impl Into<Quaternion>)
set_rotation(crate::unity_engine::quaternion::Quaternion) overload
Sourcefn get_euler_angles(self) -> Vector3
fn get_euler_angles(self) -> Vector3
get_eulerAngles() overload
Sourcefn set_euler_angles(self, value: impl Into<Vector3>)
fn set_euler_angles(self, value: impl Into<Vector3>)
set_eulerAngles(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_use_track_match_fields(self) -> bool
fn get_use_track_match_fields(self) -> bool
get_useTrackMatchFields() overload
Sourcefn set_use_track_match_fields(self, value: impl Into<bool>)
fn set_use_track_match_fields(self, value: impl Into<bool>)
set_useTrackMatchFields(bool) overload
Sourcefn get_match_target_fields(self) -> MatchTargetFields
fn get_match_target_fields(self) -> MatchTargetFields
get_matchTargetFields() overload
Sourcefn set_match_target_fields(self, value: impl Into<MatchTargetFields>)
fn set_match_target_fields(self, value: impl Into<MatchTargetFields>)
set_matchTargetFields(crate::unity_engine::timeline::matchtargetfields::MatchTargetFields) overload
Sourcefn get_remove_start_offset(self) -> bool
fn get_remove_start_offset(self) -> bool
get_removeStartOffset() overload
Sourcefn set_remove_start_offset(self, value: impl Into<bool>)
fn set_remove_start_offset(self, value: impl Into<bool>)
set_removeStartOffset(bool) overload
Sourcefn get_apply_foot_ik(self) -> bool
fn get_apply_foot_ik(self) -> bool
get_applyFootIK() overload
Sourcefn set_apply_foot_ik(self, value: impl Into<bool>)
fn set_apply_foot_ik(self, value: impl Into<bool>)
set_applyFootIK(bool) overload
Sourcefn get_loop(self) -> AnimationPlayableAsset_LoopMode
fn get_loop(self) -> AnimationPlayableAsset_LoopMode
get_loop() overload
Sourcefn set_loop(self, value: impl Into<AnimationPlayableAsset_LoopMode>)
fn set_loop(self, value: impl Into<AnimationPlayableAsset_LoopMode>)
set_loop(crate::unity_engine::timeline::animationplayableasset::AnimationPlayableAsset_LoopMode) overload
Sourcefn get_has_root_transforms(self) -> bool
fn get_has_root_transforms(self) -> bool
get_hasRootTransforms() overload
Sourcefn get_applied_offset_mode(self) -> AppliedOffsetMode
fn get_applied_offset_mode(self) -> AppliedOffsetMode
get_appliedOffsetMode() overload
Sourcefn set_applied_offset_mode(self, value: impl Into<AppliedOffsetMode>)
fn set_applied_offset_mode(self, value: impl Into<AppliedOffsetMode>)
set_appliedOffsetMode(crate::unity_engine::timeline::appliedoffsetmode::AppliedOffsetMode) overload
Sourcefn get_clip(self) -> AnimationClip
fn get_clip(self) -> AnimationClip
get_clip() overload
Sourcefn set_clip(self, value: impl Into<AnimationClip>)
fn set_clip(self, value: impl Into<AnimationClip>)
set_clip(crate::unity_engine::animationclip::AnimationClip) overload
Sourcefn get_duration(self) -> f64
fn get_duration(self) -> f64
get_duration() overload
Sourcefn get_outputs(self) -> IEnumerable_1<PlayableBinding>
fn get_outputs(self) -> IEnumerable_1<PlayableBinding>
get_outputs() overload
Sourcefn create_playable(
self,
graph: impl Into<PlayableGraph>,
go: impl Into<GameObject>,
) -> Playable
fn create_playable( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, ) -> Playable
CreatePlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_clip_caps(self) -> ClipCaps
fn get_clip_caps(self) -> ClipCaps
get_clipCaps() overload
Sourcefn reset_offsets(self)
fn reset_offsets(self)
ResetOffsets() overload
Sourcefn gather_properties(
self,
director: impl Into<PlayableDirector>,
driver: impl Into<IPropertyCollector>,
)
fn gather_properties( self, director: impl Into<PlayableDirector>, driver: impl Into<IPropertyCollector>, )
GatherProperties(crate::unity_engine::playables::playabledirector::PlayableDirector, crate::unity_engine::timeline::ipropertycollector::IPropertyCollector) overload
Sourcefn unity_engine_i_serialization_callback_receiver_on_before_serialize(self)
fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self)
UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize() overload
Sourcefn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self)
fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self)
UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() overload
Sourcefn on_upgrade_from_version(self, old_version: impl Into<i32>)
fn on_upgrade_from_version(self, old_version: impl Into<i32>)
OnUpgradeFromVersion(i32) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IAnimationPlayableAsset> IAnimationPlayableAssetMethods for __T
unity_engine-timeline-animationplayableasset only.