pub trait IScaleConstraintMethods: IScaleConstraint {
Show 31 methods
// Provided methods
fn ctor(self) { ... }
fn get_weight(self) -> f32 { ... }
fn set_weight(self, value: impl Into<f32>) { ... }
fn get_scale_at_rest(self) -> Vector3 { ... }
fn set_scale_at_rest(self, value: impl Into<Vector3>) { ... }
fn get_scale_offset(self) -> Vector3 { ... }
fn set_scale_offset(self, value: impl Into<Vector3>) { ... }
fn get_scaling_axis(self) -> Axis { ... }
fn set_scaling_axis(self, value: impl Into<Axis>) { ... }
fn get_constraint_active(self) -> bool { ... }
fn set_constraint_active(self, value: impl Into<bool>) { ... }
fn get_locked(self) -> bool { ... }
fn set_locked(self, value: impl Into<bool>) { ... }
fn get_source_count(self) -> i32 { ... }
fn get_sources(self, sources: impl Into<List_1<ConstraintSource>>) { ... }
fn set_sources(self, sources: impl Into<List_1<ConstraintSource>>) { ... }
fn add_source(self, source: impl Into<ConstraintSource>) -> i32 { ... }
fn remove_source(self, index: impl Into<i32>) { ... }
fn remove_source_internal(self, index: impl Into<i32>) { ... }
fn get_source(self, index: impl Into<i32>) -> ConstraintSource { ... }
fn get_source_internal(self, index: impl Into<i32>) -> ConstraintSource { ... }
fn set_source(
self,
index: impl Into<i32>,
source: impl Into<ConstraintSource>,
) { ... }
fn set_source_internal(
self,
index: impl Into<i32>,
source: impl Into<ConstraintSource>,
) { ... }
fn validate_source_index(self, index: impl Into<i32>) { ... }
fn get_scale_at_rest_injected(self) -> Vector3 { ... }
fn set_scale_at_rest_injected(self) -> Vector3 { ... }
fn get_scale_offset_injected(self) -> Vector3 { ... }
fn set_scale_offset_injected(self) -> Vector3 { ... }
fn add_source_injected(self) -> (i32, ConstraintSource) { ... }
fn get_source_internal_injected(
self,
index: impl Into<i32>,
) -> ConstraintSource { ... }
fn set_source_internal_injected(
self,
index: impl Into<i32>,
) -> ConstraintSource { ... }
}Provided Methods§
Sourcefn get_weight(self) -> f32
fn get_weight(self) -> f32
get_weight() overload
Sourcefn set_weight(self, value: impl Into<f32>)
fn set_weight(self, value: impl Into<f32>)
set_weight(f32) overload
Sourcefn get_scale_at_rest(self) -> Vector3
fn get_scale_at_rest(self) -> Vector3
get_scaleAtRest() overload
Sourcefn set_scale_at_rest(self, value: impl Into<Vector3>)
fn set_scale_at_rest(self, value: impl Into<Vector3>)
set_scaleAtRest(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_scale_offset(self) -> Vector3
fn get_scale_offset(self) -> Vector3
get_scaleOffset() overload
Sourcefn set_scale_offset(self, value: impl Into<Vector3>)
fn set_scale_offset(self, value: impl Into<Vector3>)
set_scaleOffset(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_scaling_axis(self) -> Axis
fn get_scaling_axis(self) -> Axis
get_scalingAxis() overload
Sourcefn set_scaling_axis(self, value: impl Into<Axis>)
fn set_scaling_axis(self, value: impl Into<Axis>)
set_scalingAxis(crate::unity_engine::animations::axis::Axis) overload
Sourcefn get_constraint_active(self) -> bool
fn get_constraint_active(self) -> bool
get_constraintActive() overload
Sourcefn set_constraint_active(self, value: impl Into<bool>)
fn set_constraint_active(self, value: impl Into<bool>)
set_constraintActive(bool) overload
Sourcefn get_locked(self) -> bool
fn get_locked(self) -> bool
get_locked() overload
Sourcefn set_locked(self, value: impl Into<bool>)
fn set_locked(self, value: impl Into<bool>)
set_locked(bool) overload
Sourcefn get_source_count(self) -> i32
fn get_source_count(self) -> i32
get_sourceCount() overload
Sourcefn get_sources(self, sources: impl Into<List_1<ConstraintSource>>)
fn get_sources(self, sources: impl Into<List_1<ConstraintSource>>)
GetSources(crate::system::collections::generic::list_1::List_1<crate::unity_engine::animations::constraintsource::ConstraintSource>) overload
Sourcefn set_sources(self, sources: impl Into<List_1<ConstraintSource>>)
fn set_sources(self, sources: impl Into<List_1<ConstraintSource>>)
SetSources(crate::system::collections::generic::list_1::List_1<crate::unity_engine::animations::constraintsource::ConstraintSource>) overload
Sourcefn add_source(self, source: impl Into<ConstraintSource>) -> i32
fn add_source(self, source: impl Into<ConstraintSource>) -> i32
AddSource(crate::unity_engine::animations::constraintsource::ConstraintSource) overload
Sourcefn remove_source(self, index: impl Into<i32>)
fn remove_source(self, index: impl Into<i32>)
RemoveSource(i32) overload
Sourcefn remove_source_internal(self, index: impl Into<i32>)
fn remove_source_internal(self, index: impl Into<i32>)
RemoveSourceInternal(i32) overload
Sourcefn get_source(self, index: impl Into<i32>) -> ConstraintSource
fn get_source(self, index: impl Into<i32>) -> ConstraintSource
GetSource(i32) overload
Sourcefn get_source_internal(self, index: impl Into<i32>) -> ConstraintSource
fn get_source_internal(self, index: impl Into<i32>) -> ConstraintSource
GetSourceInternal(i32) overload
Sourcefn set_source(self, index: impl Into<i32>, source: impl Into<ConstraintSource>)
fn set_source(self, index: impl Into<i32>, source: impl Into<ConstraintSource>)
SetSource(i32, crate::unity_engine::animations::constraintsource::ConstraintSource) overload
Sourcefn set_source_internal(
self,
index: impl Into<i32>,
source: impl Into<ConstraintSource>,
)
fn set_source_internal( self, index: impl Into<i32>, source: impl Into<ConstraintSource>, )
SetSourceInternal(i32, crate::unity_engine::animations::constraintsource::ConstraintSource) overload
Sourcefn validate_source_index(self, index: impl Into<i32>)
fn validate_source_index(self, index: impl Into<i32>)
ValidateSourceIndex(i32) overload
Sourcefn get_scale_at_rest_injected(self) -> Vector3
fn get_scale_at_rest_injected(self) -> Vector3
get_scaleAtRest_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_scale_at_rest_injected(self) -> Vector3
fn set_scale_at_rest_injected(self) -> Vector3
set_scaleAtRest_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_scale_offset_injected(self) -> Vector3
fn get_scale_offset_injected(self) -> Vector3
get_scaleOffset_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_scale_offset_injected(self) -> Vector3
fn set_scale_offset_injected(self) -> Vector3
set_scaleOffset_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn add_source_injected(self) -> (i32, ConstraintSource)
fn add_source_injected(self) -> (i32, ConstraintSource)
AddSource_Injected(*mutcrate::unity_engine::animations::constraintsource::ConstraintSource) overload
Sourcefn get_source_internal_injected(self, index: impl Into<i32>) -> ConstraintSource
fn get_source_internal_injected(self, index: impl Into<i32>) -> ConstraintSource
GetSourceInternal_Injected(i32, *mutcrate::unity_engine::animations::constraintsource::ConstraintSource) overload
Sourcefn set_source_internal_injected(self, index: impl Into<i32>) -> ConstraintSource
fn set_source_internal_injected(self, index: impl Into<i32>) -> ConstraintSource
SetSourceInternal_Injected(i32, *mutcrate::unity_engine::animations::constraintsource::ConstraintSource) 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: IScaleConstraint> IScaleConstraintMethods for __T
unity_engine-animations-scaleconstraint only.