pub trait IInteractionObjectMethods: IInteractionObject {
Show 28 methods
// Provided methods
fn open_user_manual(self) { ... }
fn open_script_reference(self) { ... }
fn open_tutorial1(self) { ... }
fn open_tutorial2(self) { ... }
fn open_tutorial3(self) { ... }
fn open_tutorial4(self) { ... }
fn support_group(self) { ... }
fn as_thread(self) { ... }
fn get_length(self) -> f32 { ... }
fn set_length(self, value: impl Into<f32>) { ... }
fn get_last_used_interaction_system(self) -> InteractionSystem { ... }
fn set_last_used_interaction_system(
self,
value: impl Into<InteractionSystem>,
) { ... }
fn initiate(self) { ... }
fn get_look_at_target(self) -> Transform { ... }
fn get_target(
self,
effector_type: impl Into<FullBodyBipedEffector>,
interaction_system: impl Into<InteractionSystem>,
) -> InteractionTarget { ... }
fn curve_used(
self,
type: impl Into<InteractionObject_WeightCurve_Type>,
) -> bool { ... }
fn get_targets(self) -> Array<InteractionTarget> { ... }
fn get_target_2(
self,
effector_type: impl Into<FullBodyBipedEffector>,
tag: impl Into<Il2CppString>,
) -> Transform { ... }
fn on_start_interaction(
self,
interaction_system: impl Into<InteractionSystem>,
) { ... }
fn apply(
self,
solver: impl Into<IKSolverFullBodyBiped>,
effector: impl Into<FullBodyBipedEffector>,
target: impl Into<InteractionTarget>,
timer: impl Into<f32>,
weight: impl Into<f32>,
) { ... }
fn get_value(
self,
weight_curve_type: impl Into<InteractionObject_WeightCurve_Type>,
target: impl Into<InteractionTarget>,
timer: impl Into<f32>,
) -> f32 { ... }
fn get_targets_root(self) -> Transform { ... }
fn start(self) { ... }
fn apply_2(
self,
solver: impl Into<IKSolverFullBodyBiped>,
effector: impl Into<FullBodyBipedEffector>,
type: impl Into<InteractionObject_WeightCurve_Type>,
value: impl Into<f32>,
weight: impl Into<f32>,
) { ... }
fn get_target_3(
self,
effector_type: impl Into<FullBodyBipedEffector>,
) -> Transform { ... }
fn get_weight_curve_index(
self,
weight_curve_type: impl Into<InteractionObject_WeightCurve_Type>,
) -> i32 { ... }
fn get_multiplier_index(
self,
weight_curve_type: impl Into<InteractionObject_WeightCurve_Type>,
) -> i32 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn open_user_manual(self)
fn open_user_manual(self)
OpenUserManual() overload
Sourcefn open_script_reference(self)
fn open_script_reference(self)
OpenScriptReference() overload
Sourcefn open_tutorial1(self)
fn open_tutorial1(self)
OpenTutorial1() overload
Sourcefn open_tutorial2(self)
fn open_tutorial2(self)
OpenTutorial2() overload
Sourcefn open_tutorial3(self)
fn open_tutorial3(self)
OpenTutorial3() overload
Sourcefn open_tutorial4(self)
fn open_tutorial4(self)
OpenTutorial4() overload
Sourcefn support_group(self)
fn support_group(self)
SupportGroup() overload
Sourcefn get_length(self) -> f32
fn get_length(self) -> f32
get_length() overload
Sourcefn set_length(self, value: impl Into<f32>)
fn set_length(self, value: impl Into<f32>)
set_length(f32) overload
Sourcefn get_last_used_interaction_system(self) -> InteractionSystem
fn get_last_used_interaction_system(self) -> InteractionSystem
get_lastUsedInteractionSystem() overload
Sourcefn set_last_used_interaction_system(self, value: impl Into<InteractionSystem>)
fn set_last_used_interaction_system(self, value: impl Into<InteractionSystem>)
set_lastUsedInteractionSystem(crate::root_motion::final_ik::interactionsystem::InteractionSystem) overload
Sourcefn get_look_at_target(self) -> Transform
fn get_look_at_target(self) -> Transform
get_lookAtTarget() overload
Sourcefn get_target(
self,
effector_type: impl Into<FullBodyBipedEffector>,
interaction_system: impl Into<InteractionSystem>,
) -> InteractionTarget
fn get_target( self, effector_type: impl Into<FullBodyBipedEffector>, interaction_system: impl Into<InteractionSystem>, ) -> InteractionTarget
GetTarget(crate::root_motion::final_ik::fullbodybipedeffector::FullBodyBipedEffector, crate::root_motion::final_ik::interactionsystem::InteractionSystem) overload
Sourcefn curve_used(self, type: impl Into<InteractionObject_WeightCurve_Type>) -> bool
fn curve_used(self, type: impl Into<InteractionObject_WeightCurve_Type>) -> bool
CurveUsed(crate::root_motion::final_ik::interactionobject::InteractionObject_WeightCurve_Type) overload
Sourcefn get_targets(self) -> Array<InteractionTarget>
fn get_targets(self) -> Array<InteractionTarget>
GetTargets() overload
Sourcefn get_target_2(
self,
effector_type: impl Into<FullBodyBipedEffector>,
tag: impl Into<Il2CppString>,
) -> Transform
fn get_target_2( self, effector_type: impl Into<FullBodyBipedEffector>, tag: impl Into<Il2CppString>, ) -> Transform
GetTarget(crate::root_motion::final_ik::fullbodybipedeffector::FullBodyBipedEffector, ::unity::Il2CppString) overload
Sourcefn on_start_interaction(self, interaction_system: impl Into<InteractionSystem>)
fn on_start_interaction(self, interaction_system: impl Into<InteractionSystem>)
OnStartInteraction(crate::root_motion::final_ik::interactionsystem::InteractionSystem) overload
Sourcefn apply(
self,
solver: impl Into<IKSolverFullBodyBiped>,
effector: impl Into<FullBodyBipedEffector>,
target: impl Into<InteractionTarget>,
timer: impl Into<f32>,
weight: impl Into<f32>,
)
fn apply( self, solver: impl Into<IKSolverFullBodyBiped>, effector: impl Into<FullBodyBipedEffector>, target: impl Into<InteractionTarget>, timer: impl Into<f32>, weight: impl Into<f32>, )
Apply(crate::root_motion::final_ik::iksolverfullbodybiped::IKSolverFullBodyBiped, crate::root_motion::final_ik::fullbodybipedeffector::FullBodyBipedEffector, crate::root_motion::final_ik::interactiontarget::InteractionTarget, f32, f32) overload
Sourcefn get_value(
self,
weight_curve_type: impl Into<InteractionObject_WeightCurve_Type>,
target: impl Into<InteractionTarget>,
timer: impl Into<f32>,
) -> f32
fn get_value( self, weight_curve_type: impl Into<InteractionObject_WeightCurve_Type>, target: impl Into<InteractionTarget>, timer: impl Into<f32>, ) -> f32
GetValue(crate::root_motion::final_ik::interactionobject::InteractionObject_WeightCurve_Type, crate::root_motion::final_ik::interactiontarget::InteractionTarget, f32) overload
Sourcefn get_targets_root(self) -> Transform
fn get_targets_root(self) -> Transform
get_targetsRoot() overload
Sourcefn apply_2(
self,
solver: impl Into<IKSolverFullBodyBiped>,
effector: impl Into<FullBodyBipedEffector>,
type: impl Into<InteractionObject_WeightCurve_Type>,
value: impl Into<f32>,
weight: impl Into<f32>,
)
fn apply_2( self, solver: impl Into<IKSolverFullBodyBiped>, effector: impl Into<FullBodyBipedEffector>, type: impl Into<InteractionObject_WeightCurve_Type>, value: impl Into<f32>, weight: impl Into<f32>, )
Apply(crate::root_motion::final_ik::iksolverfullbodybiped::IKSolverFullBodyBiped, crate::root_motion::final_ik::fullbodybipedeffector::FullBodyBipedEffector, crate::root_motion::final_ik::interactionobject::InteractionObject_WeightCurve_Type, f32, f32) overload
Sourcefn get_target_3(
self,
effector_type: impl Into<FullBodyBipedEffector>,
) -> Transform
fn get_target_3( self, effector_type: impl Into<FullBodyBipedEffector>, ) -> Transform
GetTarget(crate::root_motion::final_ik::fullbodybipedeffector::FullBodyBipedEffector) overload
Sourcefn get_weight_curve_index(
self,
weight_curve_type: impl Into<InteractionObject_WeightCurve_Type>,
) -> i32
fn get_weight_curve_index( self, weight_curve_type: impl Into<InteractionObject_WeightCurve_Type>, ) -> i32
GetWeightCurveIndex(crate::root_motion::final_ik::interactionobject::InteractionObject_WeightCurve_Type) overload
Sourcefn get_multiplier_index(
self,
weight_curve_type: impl Into<InteractionObject_WeightCurve_Type>,
) -> i32
fn get_multiplier_index( self, weight_curve_type: impl Into<InteractionObject_WeightCurve_Type>, ) -> i32
GetMultiplierIndex(crate::root_motion::final_ik::interactionobject::InteractionObject_WeightCurve_Type) 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: IInteractionObject> IInteractionObjectMethods for __T
root_motion-final_ik-interactionobject only.