Skip to main content

IFBIKChain_ChildConstraintMethods

Trait IFBIKChain_ChildConstraintMethods 

Source
pub trait IFBIKChain_ChildConstraintMethods: IFBIKChain_ChildConstraint {
    // Provided methods
    fn get_nominal_distance(self) -> f32 { ... }
    fn set_nominal_distance(self, value: impl Into<f32>) { ... }
    fn get_is_rigid(self) -> bool { ... }
    fn set_is_rigid(self, value: impl Into<bool>) { ... }
    fn ctor(
        self,
        bone1: impl Into<Transform>,
        bone2: impl Into<Transform>,
        push_elasticity: impl Into<f32>,
        pull_elasticity: impl Into<f32>,
    ) { ... }
    fn initiate(self, solver: impl Into<IKSolverFullBody>) { ... }
    fn on_pre_solve(self, solver: impl Into<IKSolverFullBody>) { ... }
    fn solve(self, solver: impl Into<IKSolverFullBody>) { ... }
}

Provided Methods§

Source

fn get_nominal_distance(self) -> f32

get_nominalDistance() overload

Source

fn set_nominal_distance(self, value: impl Into<f32>)

set_nominalDistance(f32) overload

Source

fn get_is_rigid(self) -> bool

get_isRigid() overload

Source

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

set_isRigid(bool) overload

Source

fn ctor( self, bone1: impl Into<Transform>, bone2: impl Into<Transform>, push_elasticity: impl Into<f32>, pull_elasticity: impl Into<f32>, )

.ctor(crate::unity_engine::transform::Transform, crate::unity_engine::transform::Transform, f32, f32) overload

Source

fn initiate(self, solver: impl Into<IKSolverFullBody>)

Initiate(crate::root_motion::final_ik::iksolverfullbody::IKSolverFullBody) overload

Source

fn on_pre_solve(self, solver: impl Into<IKSolverFullBody>)

OnPreSolve(crate::root_motion::final_ik::iksolverfullbody::IKSolverFullBody) overload

Source

fn solve(self, solver: impl Into<IKSolverFullBody>)

Solve(crate::root_motion::final_ik::iksolverfullbody::IKSolverFullBody) 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: IFBIKChain_ChildConstraint> IFBIKChain_ChildConstraintMethods for __T

Available on crate feature root_motion-final_ik-fbikchain only.