Skip to main content

IParentConstraintMethods

Trait IParentConstraintMethods 

Source
pub trait IParentConstraintMethods: IParentConstraint {
Show 49 methods // Provided methods fn ctor(self) { ... } fn get_weight(self) -> f32 { ... } fn set_weight(self, value: impl Into<f32>) { ... } 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_translation_at_rest(self) -> Vector3 { ... } fn set_translation_at_rest(self, value: impl Into<Vector3>) { ... } fn get_rotation_at_rest(self) -> Vector3 { ... } fn set_rotation_at_rest(self, value: impl Into<Vector3>) { ... } fn get_translation_offsets(self) -> Array<Vector3> { ... } fn set_translation_offsets(self, value: impl Into<Array<Vector3>>) { ... } fn get_rotation_offsets(self) -> Array<Vector3> { ... } fn set_rotation_offsets(self, value: impl Into<Array<Vector3>>) { ... } fn get_translation_axis(self) -> Axis { ... } fn set_translation_axis(self, value: impl Into<Axis>) { ... } fn get_rotation_axis(self) -> Axis { ... } fn set_rotation_axis(self, value: impl Into<Axis>) { ... } fn get_translation_offset(self, index: impl Into<i32>) -> Vector3 { ... } fn set_translation_offset( self, index: impl Into<i32>, value: impl Into<Vector3>, ) { ... } fn get_translation_offset_internal(self, index: impl Into<i32>) -> Vector3 { ... } fn set_translation_offset_internal( self, index: impl Into<i32>, value: impl Into<Vector3>, ) { ... } fn get_rotation_offset(self, index: impl Into<i32>) -> Vector3 { ... } fn set_rotation_offset( self, index: impl Into<i32>, value: impl Into<Vector3>, ) { ... } fn get_rotation_offset_internal(self, index: impl Into<i32>) -> Vector3 { ... } fn set_rotation_offset_internal( self, index: impl Into<i32>, value: impl Into<Vector3>, ) { ... } fn validate_source_index(self, index: impl Into<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 get_translation_at_rest_injected(self) -> Vector3 { ... } fn set_translation_at_rest_injected(self) -> Vector3 { ... } fn get_rotation_at_rest_injected(self) -> Vector3 { ... } fn set_rotation_at_rest_injected(self) -> Vector3 { ... } fn get_translation_offset_internal_injected( self, index: impl Into<i32>, ) -> Vector3 { ... } fn set_translation_offset_internal_injected( self, index: impl Into<i32>, ) -> Vector3 { ... } fn get_rotation_offset_internal_injected( self, index: impl Into<i32>, ) -> Vector3 { ... } fn set_rotation_offset_internal_injected( self, index: impl Into<i32>, ) -> 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§

Source

fn ctor(self)

.ctor() overload

Source

fn get_weight(self) -> f32

get_weight() overload

Source

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

set_weight(f32) overload

Source

fn get_constraint_active(self) -> bool

get_constraintActive() overload

Source

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

set_constraintActive(bool) overload

Source

fn get_locked(self) -> bool

get_locked() overload

Source

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

set_locked(bool) overload

Source

fn get_source_count(self) -> i32

get_sourceCount() overload

Source

fn get_translation_at_rest(self) -> Vector3

get_translationAtRest() overload

Source

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

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

Source

fn get_rotation_at_rest(self) -> Vector3

get_rotationAtRest() overload

Source

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

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

Source

fn get_translation_offsets(self) -> Array<Vector3>

get_translationOffsets() overload

Source

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

set_translationOffsets(::unity::Array<crate::unity_engine::vector3::Vector3>) overload

Source

fn get_rotation_offsets(self) -> Array<Vector3>

get_rotationOffsets() overload

Source

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

set_rotationOffsets(::unity::Array<crate::unity_engine::vector3::Vector3>) overload

Source

fn get_translation_axis(self) -> Axis

get_translationAxis() overload

Source

fn set_translation_axis(self, value: impl Into<Axis>)

set_translationAxis(crate::unity_engine::animations::axis::Axis) overload

Source

fn get_rotation_axis(self) -> Axis

get_rotationAxis() overload

Source

fn set_rotation_axis(self, value: impl Into<Axis>)

set_rotationAxis(crate::unity_engine::animations::axis::Axis) overload

Source

fn get_translation_offset(self, index: impl Into<i32>) -> Vector3

GetTranslationOffset(i32) overload

Source

fn set_translation_offset( self, index: impl Into<i32>, value: impl Into<Vector3>, )

SetTranslationOffset(i32, crate::unity_engine::vector3::Vector3) overload

Source

fn get_translation_offset_internal(self, index: impl Into<i32>) -> Vector3

GetTranslationOffsetInternal(i32) overload

Source

fn set_translation_offset_internal( self, index: impl Into<i32>, value: impl Into<Vector3>, )

SetTranslationOffsetInternal(i32, crate::unity_engine::vector3::Vector3) overload

Source

fn get_rotation_offset(self, index: impl Into<i32>) -> Vector3

GetRotationOffset(i32) overload

Source

fn set_rotation_offset(self, index: impl Into<i32>, value: impl Into<Vector3>)

SetRotationOffset(i32, crate::unity_engine::vector3::Vector3) overload

Source

fn get_rotation_offset_internal(self, index: impl Into<i32>) -> Vector3

GetRotationOffsetInternal(i32) overload

Source

fn set_rotation_offset_internal( self, index: impl Into<i32>, value: impl Into<Vector3>, )

SetRotationOffsetInternal(i32, crate::unity_engine::vector3::Vector3) overload

Source

fn validate_source_index(self, index: impl Into<i32>)

ValidateSourceIndex(i32) overload

Source

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

Source

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

Source

fn add_source(self, source: impl Into<ConstraintSource>) -> i32

AddSource(crate::unity_engine::animations::constraintsource::ConstraintSource) overload

Source

fn remove_source(self, index: impl Into<i32>)

RemoveSource(i32) overload

Source

fn remove_source_internal(self, index: impl Into<i32>)

RemoveSourceInternal(i32) overload

Source

fn get_source(self, index: impl Into<i32>) -> ConstraintSource

GetSource(i32) overload

Source

fn get_source_internal(self, index: impl Into<i32>) -> ConstraintSource

GetSourceInternal(i32) overload

Source

fn set_source(self, index: impl Into<i32>, source: impl Into<ConstraintSource>)

SetSource(i32, crate::unity_engine::animations::constraintsource::ConstraintSource) overload

Source

fn set_source_internal( self, index: impl Into<i32>, source: impl Into<ConstraintSource>, )

SetSourceInternal(i32, crate::unity_engine::animations::constraintsource::ConstraintSource) overload

Source

fn get_translation_at_rest_injected(self) -> Vector3

get_translationAtRest_Injected(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn set_translation_at_rest_injected(self) -> Vector3

set_translationAtRest_Injected(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn get_rotation_at_rest_injected(self) -> Vector3

get_rotationAtRest_Injected(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn set_rotation_at_rest_injected(self) -> Vector3

set_rotationAtRest_Injected(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn get_translation_offset_internal_injected( self, index: impl Into<i32>, ) -> Vector3

GetTranslationOffsetInternal_Injected(i32, *mutcrate::unity_engine::vector3::Vector3) overload

Source

fn set_translation_offset_internal_injected( self, index: impl Into<i32>, ) -> Vector3

SetTranslationOffsetInternal_Injected(i32, *mutcrate::unity_engine::vector3::Vector3) overload

Source

fn get_rotation_offset_internal_injected(self, index: impl Into<i32>) -> Vector3

GetRotationOffsetInternal_Injected(i32, *mutcrate::unity_engine::vector3::Vector3) overload

Source

fn set_rotation_offset_internal_injected(self, index: impl Into<i32>) -> Vector3

SetRotationOffsetInternal_Injected(i32, *mutcrate::unity_engine::vector3::Vector3) overload

Source

fn add_source_injected(self) -> (i32, ConstraintSource)

AddSource_Injected(*mutcrate::unity_engine::animations::constraintsource::ConstraintSource) overload

Source

fn get_source_internal_injected(self, index: impl Into<i32>) -> ConstraintSource

GetSourceInternal_Injected(i32, *mutcrate::unity_engine::animations::constraintsource::ConstraintSource) overload

Source

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§

Source§

impl<__T: IParentConstraint> IParentConstraintMethods for __T

Available on crate feature unity_engine-animations-parentconstraint only.