pub trait IBakerTransformMethods: IBakerTransform {
// Provided methods
fn ctor(
self,
transform: impl Into<Transform>,
root: impl Into<Transform>,
record_position: impl Into<bool>,
is_root_node: impl Into<bool>,
) { ... }
fn set_relative_space(
self,
position: impl Into<Vector3>,
rotation: impl Into<Quaternion>,
) { ... }
fn set_curves(self) -> AnimationClip { ... }
fn add_root_motion_curves(self) -> AnimationClip { ... }
fn reset(self) { ... }
fn reduce_keyframes(self, max_error: impl Into<f32>) { ... }
fn set_keyframes(self, time: impl Into<f32>) { ... }
fn add_loop_frame(self, time: impl Into<f32>) { ... }
}Provided Methods§
Sourcefn ctor(
self,
transform: impl Into<Transform>,
root: impl Into<Transform>,
record_position: impl Into<bool>,
is_root_node: impl Into<bool>,
)
fn ctor( self, transform: impl Into<Transform>, root: impl Into<Transform>, record_position: impl Into<bool>, is_root_node: impl Into<bool>, )
.ctor(crate::unity_engine::transform::Transform, crate::unity_engine::transform::Transform, bool, bool) overload
Sourcefn set_relative_space(
self,
position: impl Into<Vector3>,
rotation: impl Into<Quaternion>,
)
fn set_relative_space( self, position: impl Into<Vector3>, rotation: impl Into<Quaternion>, )
SetRelativeSpace(crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload
Sourcefn set_curves(self) -> AnimationClip
fn set_curves(self) -> AnimationClip
SetCurves(*mutcrate::unity_engine::animationclip::AnimationClip) overload
Sourcefn add_root_motion_curves(self) -> AnimationClip
fn add_root_motion_curves(self) -> AnimationClip
AddRootMotionCurves(*mutcrate::unity_engine::animationclip::AnimationClip) overload
Sourcefn reduce_keyframes(self, max_error: impl Into<f32>)
fn reduce_keyframes(self, max_error: impl Into<f32>)
ReduceKeyframes(f32) overload
Sourcefn set_keyframes(self, time: impl Into<f32>)
fn set_keyframes(self, time: impl Into<f32>)
SetKeyframes(f32) overload
Sourcefn add_loop_frame(self, time: impl Into<f32>)
fn add_loop_frame(self, time: impl Into<f32>)
AddLoopFrame(f32) 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: IBakerTransform> IBakerTransformMethods for __T
Available on crate feature
root_motion-bakertransform only.