Skip to main content

IAnimationPlayableAssetMethods

Trait IAnimationPlayableAssetMethods 

Source
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§

Source

fn get_position(self) -> Vector3

get_position() overload

Source

fn set_position(self, value: impl Into<Vector3>)

set_position(crate::unity_engine::vector3::Vector3) overload

Source

fn get_rotation(self) -> Quaternion

get_rotation() overload

Source

fn set_rotation(self, value: impl Into<Quaternion>)

set_rotation(crate::unity_engine::quaternion::Quaternion) overload

Source

fn get_euler_angles(self) -> Vector3

get_eulerAngles() overload

Source

fn set_euler_angles(self, value: impl Into<Vector3>)

set_eulerAngles(crate::unity_engine::vector3::Vector3) overload

Source

fn get_use_track_match_fields(self) -> bool

get_useTrackMatchFields() overload

Source

fn set_use_track_match_fields(self, value: impl Into<bool>)

set_useTrackMatchFields(bool) overload

Source

fn get_match_target_fields(self) -> MatchTargetFields

get_matchTargetFields() overload

Source

fn set_match_target_fields(self, value: impl Into<MatchTargetFields>)

set_matchTargetFields(crate::unity_engine::timeline::matchtargetfields::MatchTargetFields) overload

Source

fn get_remove_start_offset(self) -> bool

get_removeStartOffset() overload

Source

fn set_remove_start_offset(self, value: impl Into<bool>)

set_removeStartOffset(bool) overload

Source

fn get_apply_foot_ik(self) -> bool

get_applyFootIK() overload

Source

fn set_apply_foot_ik(self, value: impl Into<bool>)

set_applyFootIK(bool) overload

Source

fn get_loop(self) -> AnimationPlayableAsset_LoopMode

get_loop() overload

Source

fn set_loop(self, value: impl Into<AnimationPlayableAsset_LoopMode>)

set_loop(crate::unity_engine::timeline::animationplayableasset::AnimationPlayableAsset_LoopMode) overload

Source

fn get_has_root_transforms(self) -> bool

get_hasRootTransforms() overload

Source

fn get_applied_offset_mode(self) -> AppliedOffsetMode

get_appliedOffsetMode() overload

Source

fn set_applied_offset_mode(self, value: impl Into<AppliedOffsetMode>)

set_appliedOffsetMode(crate::unity_engine::timeline::appliedoffsetmode::AppliedOffsetMode) overload

Source

fn get_clip(self) -> AnimationClip

get_clip() overload

Source

fn set_clip(self, value: impl Into<AnimationClip>)

set_clip(crate::unity_engine::animationclip::AnimationClip) overload

Source

fn get_duration(self) -> f64

get_duration() overload

Source

fn get_outputs(self) -> IEnumerable_1<PlayableBinding>

get_outputs() overload

Source

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

Source

fn get_clip_caps(self) -> ClipCaps

get_clipCaps() overload

Source

fn reset_offsets(self)

ResetOffsets() overload

Source

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

Source

fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self)

UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize() overload

Source

fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self)

UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() overload

Source

fn on_upgrade_from_version(self, old_version: impl Into<i32>)

OnUpgradeFromVersion(i32) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IAnimationPlayableAsset> IAnimationPlayableAssetMethods for __T

Available on crate feature unity_engine-timeline-animationplayableasset only.