pub trait ITransformMethods: ITransform {
Show 120 methods
// Provided methods
fn ctor(self) { ... }
fn get_position(self) -> Vector3 { ... }
fn set_position(self, value: impl Into<Vector3>) { ... }
fn get_local_position(self) -> Vector3 { ... }
fn set_local_position(self, value: impl Into<Vector3>) { ... }
fn get_local_euler_angles(self, order: impl Into<RotationOrder>) -> Vector3 { ... }
fn set_local_euler_angles(
self,
euler: impl Into<Vector3>,
order: impl Into<RotationOrder>,
) { ... }
fn set_local_euler_hint(self, euler: impl Into<Vector3>) { ... }
fn get_euler_angles(self) -> Vector3 { ... }
fn set_euler_angles(self, value: impl Into<Vector3>) { ... }
fn get_local_euler_angles_2(self) -> Vector3 { ... }
fn set_local_euler_angles_2(self, value: impl Into<Vector3>) { ... }
fn get_right(self) -> Vector3 { ... }
fn set_right(self, value: impl Into<Vector3>) { ... }
fn get_up(self) -> Vector3 { ... }
fn set_up(self, value: impl Into<Vector3>) { ... }
fn get_forward(self) -> Vector3 { ... }
fn set_forward(self, value: impl Into<Vector3>) { ... }
fn get_rotation(self) -> Quaternion { ... }
fn set_rotation(self, value: impl Into<Quaternion>) { ... }
fn get_local_rotation(self) -> Quaternion { ... }
fn set_local_rotation(self, value: impl Into<Quaternion>) { ... }
fn get_rotation_order(self) -> RotationOrder { ... }
fn set_rotation_order(self, value: impl Into<RotationOrder>) { ... }
fn get_rotation_order_internal(self) -> i32 { ... }
fn set_rotation_order_internal(
self,
rotation_order: impl Into<RotationOrder>,
) { ... }
fn get_local_scale(self) -> Vector3 { ... }
fn set_local_scale(self, value: impl Into<Vector3>) { ... }
fn get_parent(self) -> Transform { ... }
fn set_parent(self, value: impl Into<Transform>) { ... }
fn get_parent_internal(self) -> Transform { ... }
fn set_parent_internal(self, value: impl Into<Transform>) { ... }
fn set_parent_2(
self,
parent: impl Into<Transform>,
world_position_stays: impl Into<bool>,
) { ... }
fn get_world_to_local_matrix(self) -> Matrix4x4 { ... }
fn get_local_to_world_matrix(self) -> Matrix4x4 { ... }
fn set_position_and_rotation(
self,
position: impl Into<Vector3>,
rotation: impl Into<Quaternion>,
) { ... }
fn translate(
self,
translation: impl Into<Vector3>,
relative_to: impl Into<Space>,
) { ... }
fn translate_2(self, translation: impl Into<Vector3>) { ... }
fn translate_3(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
relative_to: impl Into<Space>,
) { ... }
fn translate_4(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) { ... }
fn translate_5(
self,
translation: impl Into<Vector3>,
relative_to: impl Into<Transform>,
) { ... }
fn translate_6(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
relative_to: impl Into<Transform>,
) { ... }
fn rotate(self, eulers: impl Into<Vector3>, relative_to: impl Into<Space>) { ... }
fn rotate_2(self, eulers: impl Into<Vector3>) { ... }
fn rotate_3(
self,
x_angle: impl Into<f32>,
y_angle: impl Into<f32>,
z_angle: impl Into<f32>,
relative_to: impl Into<Space>,
) { ... }
fn rotate_4(
self,
x_angle: impl Into<f32>,
y_angle: impl Into<f32>,
z_angle: impl Into<f32>,
) { ... }
fn rotate_around_internal(
self,
axis: impl Into<Vector3>,
angle: impl Into<f32>,
) { ... }
fn rotate_5(
self,
axis: impl Into<Vector3>,
angle: impl Into<f32>,
relative_to: impl Into<Space>,
) { ... }
fn rotate_6(self, axis: impl Into<Vector3>, angle: impl Into<f32>) { ... }
fn rotate_around(
self,
point: impl Into<Vector3>,
axis: impl Into<Vector3>,
angle: impl Into<f32>,
) { ... }
fn look_at(self, target: impl Into<Transform>, world_up: impl Into<Vector3>) { ... }
fn look_at_2(self, target: impl Into<Transform>) { ... }
fn look_at_3(
self,
world_position: impl Into<Vector3>,
world_up: impl Into<Vector3>,
) { ... }
fn look_at_4(self, world_position: impl Into<Vector3>) { ... }
fn internal_look_at(
self,
world_position: impl Into<Vector3>,
world_up: impl Into<Vector3>,
) { ... }
fn transform_direction(self, direction: impl Into<Vector3>) -> Vector3 { ... }
fn transform_direction_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3 { ... }
fn inverse_transform_direction(
self,
direction: impl Into<Vector3>,
) -> Vector3 { ... }
fn inverse_transform_direction_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3 { ... }
fn transform_vector(self, vector: impl Into<Vector3>) -> Vector3 { ... }
fn transform_vector_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3 { ... }
fn inverse_transform_vector(self, vector: impl Into<Vector3>) -> Vector3 { ... }
fn inverse_transform_vector_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3 { ... }
fn transform_point(self, position: impl Into<Vector3>) -> Vector3 { ... }
fn transform_point_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3 { ... }
fn inverse_transform_point(self, position: impl Into<Vector3>) -> Vector3 { ... }
fn inverse_transform_point_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3 { ... }
fn get_root(self) -> Transform { ... }
fn get_child_count(self) -> i32 { ... }
fn detach_children(self) { ... }
fn set_as_first_sibling(self) { ... }
fn set_as_last_sibling(self) { ... }
fn set_sibling_index(self, index: impl Into<i32>) { ... }
fn move_after_sibling(
self,
transform: impl Into<Transform>,
notify_editor_and_mark_dirty: impl Into<bool>,
) { ... }
fn get_sibling_index(self) -> i32 { ... }
fn find(self, n: impl Into<Il2CppString>) -> Transform { ... }
fn send_transform_changed_scale(self) { ... }
fn get_lossy_scale(self) -> Vector3 { ... }
fn is_child_of(self, parent: impl Into<Transform>) -> bool { ... }
fn get_has_changed(self) -> bool { ... }
fn set_has_changed(self, value: impl Into<bool>) { ... }
fn find_child(self, n: impl Into<Il2CppString>) -> Transform { ... }
fn get_enumerator(self) -> IEnumerator { ... }
fn rotate_around_2(self, axis: impl Into<Vector3>, angle: impl Into<f32>) { ... }
fn rotate_around_local(
self,
axis: impl Into<Vector3>,
angle: impl Into<f32>,
) { ... }
fn get_child(self, index: impl Into<i32>) -> Transform { ... }
fn get_hierarchy_capacity(self) -> i32 { ... }
fn set_hierarchy_capacity(self, value: impl Into<i32>) { ... }
fn internal_get_hierarchy_capacity(self) -> i32 { ... }
fn internal_set_hierarchy_capacity(self, value: impl Into<i32>) { ... }
fn get_hierarchy_count(self) -> i32 { ... }
fn internal_get_hierarchy_count(self) -> i32 { ... }
fn is_non_uniform_scale_transform(self) -> bool { ... }
fn get_position_injected(self) -> Vector3 { ... }
fn set_position_injected(self) -> Vector3 { ... }
fn get_local_position_injected(self) -> Vector3 { ... }
fn set_local_position_injected(self) -> Vector3 { ... }
fn get_local_euler_angles_injected(
self,
order: impl Into<RotationOrder>,
) -> Vector3 { ... }
fn set_local_euler_angles_injected(
self,
order: impl Into<RotationOrder>,
) -> Vector3 { ... }
fn set_local_euler_hint_injected(self) -> Vector3 { ... }
fn get_rotation_injected(self) -> Quaternion { ... }
fn set_rotation_injected(self) -> Quaternion { ... }
fn get_local_rotation_injected(self) -> Quaternion { ... }
fn set_local_rotation_injected(self) -> Quaternion { ... }
fn get_local_scale_injected(self) -> Vector3 { ... }
fn set_local_scale_injected(self) -> Vector3 { ... }
fn get_world_to_local_matrix_injected(self) -> Matrix4x4 { ... }
fn get_local_to_world_matrix_injected(self) -> Matrix4x4 { ... }
fn set_position_and_rotation_injected(self) -> (Vector3, Quaternion) { ... }
fn rotate_around_internal_injected(self, angle: impl Into<f32>) -> Vector3 { ... }
fn internal_look_at_injected(self) -> (Vector3, Vector3) { ... }
fn transform_direction_injected(self) -> (Vector3, Vector3) { ... }
fn inverse_transform_direction_injected(self) -> (Vector3, Vector3) { ... }
fn transform_vector_injected(self) -> (Vector3, Vector3) { ... }
fn inverse_transform_vector_injected(self) -> (Vector3, Vector3) { ... }
fn transform_point_injected(self) -> (Vector3, Vector3) { ... }
fn inverse_transform_point_injected(self) -> (Vector3, Vector3) { ... }
fn get_lossy_scale_injected(self) -> Vector3 { ... }
fn rotate_around_injected(self, angle: impl Into<f32>) -> Vector3 { ... }
fn rotate_around_local_injected(self, angle: impl Into<f32>) -> Vector3 { ... }
}Provided Methods§
Sourcefn get_position(self) -> Vector3
fn get_position(self) -> Vector3
get_position() overload
Sourcefn set_position(self, value: impl Into<Vector3>)
fn set_position(self, value: impl Into<Vector3>)
set_position(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_local_position(self) -> Vector3
fn get_local_position(self) -> Vector3
get_localPosition() overload
Sourcefn set_local_position(self, value: impl Into<Vector3>)
fn set_local_position(self, value: impl Into<Vector3>)
set_localPosition(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_local_euler_angles(self, order: impl Into<RotationOrder>) -> Vector3
fn get_local_euler_angles(self, order: impl Into<RotationOrder>) -> Vector3
GetLocalEulerAngles(crate::unity_engine::rotationorder::RotationOrder) overload
Sourcefn set_local_euler_angles(
self,
euler: impl Into<Vector3>,
order: impl Into<RotationOrder>,
)
fn set_local_euler_angles( self, euler: impl Into<Vector3>, order: impl Into<RotationOrder>, )
SetLocalEulerAngles(crate::unity_engine::vector3::Vector3, crate::unity_engine::rotationorder::RotationOrder) overload
Sourcefn set_local_euler_hint(self, euler: impl Into<Vector3>)
fn set_local_euler_hint(self, euler: impl Into<Vector3>)
SetLocalEulerHint(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_euler_angles(self) -> Vector3
fn get_euler_angles(self) -> Vector3
get_eulerAngles() overload
Sourcefn set_euler_angles(self, value: impl Into<Vector3>)
fn set_euler_angles(self, value: impl Into<Vector3>)
set_eulerAngles(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_local_euler_angles_2(self) -> Vector3
fn get_local_euler_angles_2(self) -> Vector3
get_localEulerAngles() overload
Sourcefn set_local_euler_angles_2(self, value: impl Into<Vector3>)
fn set_local_euler_angles_2(self, value: impl Into<Vector3>)
set_localEulerAngles(crate::unity_engine::vector3::Vector3) overload
Sourcefn set_right(self, value: impl Into<Vector3>)
fn set_right(self, value: impl Into<Vector3>)
set_right(crate::unity_engine::vector3::Vector3) overload
Sourcefn set_up(self, value: impl Into<Vector3>)
fn set_up(self, value: impl Into<Vector3>)
set_up(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_forward(self) -> Vector3
fn get_forward(self) -> Vector3
get_forward() overload
Sourcefn set_forward(self, value: impl Into<Vector3>)
fn set_forward(self, value: impl Into<Vector3>)
set_forward(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_rotation(self) -> Quaternion
fn get_rotation(self) -> Quaternion
get_rotation() overload
Sourcefn set_rotation(self, value: impl Into<Quaternion>)
fn set_rotation(self, value: impl Into<Quaternion>)
set_rotation(crate::unity_engine::quaternion::Quaternion) overload
Sourcefn get_local_rotation(self) -> Quaternion
fn get_local_rotation(self) -> Quaternion
get_localRotation() overload
Sourcefn set_local_rotation(self, value: impl Into<Quaternion>)
fn set_local_rotation(self, value: impl Into<Quaternion>)
set_localRotation(crate::unity_engine::quaternion::Quaternion) overload
Sourcefn get_rotation_order(self) -> RotationOrder
fn get_rotation_order(self) -> RotationOrder
get_rotationOrder() overload
Sourcefn set_rotation_order(self, value: impl Into<RotationOrder>)
fn set_rotation_order(self, value: impl Into<RotationOrder>)
set_rotationOrder(crate::unity_engine::rotationorder::RotationOrder) overload
Sourcefn get_rotation_order_internal(self) -> i32
fn get_rotation_order_internal(self) -> i32
GetRotationOrderInternal() overload
Sourcefn set_rotation_order_internal(self, rotation_order: impl Into<RotationOrder>)
fn set_rotation_order_internal(self, rotation_order: impl Into<RotationOrder>)
SetRotationOrderInternal(crate::unity_engine::rotationorder::RotationOrder) overload
Sourcefn get_local_scale(self) -> Vector3
fn get_local_scale(self) -> Vector3
get_localScale() overload
Sourcefn set_local_scale(self, value: impl Into<Vector3>)
fn set_local_scale(self, value: impl Into<Vector3>)
set_localScale(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_parent(self) -> Transform
fn get_parent(self) -> Transform
get_parent() overload
Sourcefn set_parent(self, value: impl Into<Transform>)
fn set_parent(self, value: impl Into<Transform>)
set_parent(crate::unity_engine::transform::Transform) overload
Sourcefn get_parent_internal(self) -> Transform
fn get_parent_internal(self) -> Transform
get_parentInternal() overload
Sourcefn set_parent_internal(self, value: impl Into<Transform>)
fn set_parent_internal(self, value: impl Into<Transform>)
set_parentInternal(crate::unity_engine::transform::Transform) overload
Sourcefn set_parent_2(
self,
parent: impl Into<Transform>,
world_position_stays: impl Into<bool>,
)
fn set_parent_2( self, parent: impl Into<Transform>, world_position_stays: impl Into<bool>, )
SetParent(crate::unity_engine::transform::Transform, bool) overload
Sourcefn get_world_to_local_matrix(self) -> Matrix4x4
fn get_world_to_local_matrix(self) -> Matrix4x4
get_worldToLocalMatrix() overload
Sourcefn get_local_to_world_matrix(self) -> Matrix4x4
fn get_local_to_world_matrix(self) -> Matrix4x4
get_localToWorldMatrix() overload
Sourcefn set_position_and_rotation(
self,
position: impl Into<Vector3>,
rotation: impl Into<Quaternion>,
)
fn set_position_and_rotation( self, position: impl Into<Vector3>, rotation: impl Into<Quaternion>, )
SetPositionAndRotation(crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload
Sourcefn translate(
self,
translation: impl Into<Vector3>,
relative_to: impl Into<Space>,
)
fn translate( self, translation: impl Into<Vector3>, relative_to: impl Into<Space>, )
Translate(crate::unity_engine::vector3::Vector3, crate::unity_engine::space::Space) overload
Sourcefn translate_2(self, translation: impl Into<Vector3>)
fn translate_2(self, translation: impl Into<Vector3>)
Translate(crate::unity_engine::vector3::Vector3) overload
Sourcefn translate_3(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
relative_to: impl Into<Space>,
)
fn translate_3( self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>, relative_to: impl Into<Space>, )
Translate(f32, f32, f32, crate::unity_engine::space::Space) overload
Sourcefn translate_4(self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>)
fn translate_4(self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>)
Translate(f32, f32, f32) overload
Sourcefn translate_5(
self,
translation: impl Into<Vector3>,
relative_to: impl Into<Transform>,
)
fn translate_5( self, translation: impl Into<Vector3>, relative_to: impl Into<Transform>, )
Translate(crate::unity_engine::vector3::Vector3, crate::unity_engine::transform::Transform) overload
Sourcefn translate_6(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
relative_to: impl Into<Transform>,
)
fn translate_6( self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>, relative_to: impl Into<Transform>, )
Translate(f32, f32, f32, crate::unity_engine::transform::Transform) overload
Sourcefn rotate(self, eulers: impl Into<Vector3>, relative_to: impl Into<Space>)
fn rotate(self, eulers: impl Into<Vector3>, relative_to: impl Into<Space>)
Rotate(crate::unity_engine::vector3::Vector3, crate::unity_engine::space::Space) overload
Sourcefn rotate_2(self, eulers: impl Into<Vector3>)
fn rotate_2(self, eulers: impl Into<Vector3>)
Rotate(crate::unity_engine::vector3::Vector3) overload
Sourcefn rotate_3(
self,
x_angle: impl Into<f32>,
y_angle: impl Into<f32>,
z_angle: impl Into<f32>,
relative_to: impl Into<Space>,
)
fn rotate_3( self, x_angle: impl Into<f32>, y_angle: impl Into<f32>, z_angle: impl Into<f32>, relative_to: impl Into<Space>, )
Rotate(f32, f32, f32, crate::unity_engine::space::Space) overload
Sourcefn rotate_4(
self,
x_angle: impl Into<f32>,
y_angle: impl Into<f32>,
z_angle: impl Into<f32>,
)
fn rotate_4( self, x_angle: impl Into<f32>, y_angle: impl Into<f32>, z_angle: impl Into<f32>, )
Rotate(f32, f32, f32) overload
Sourcefn rotate_around_internal(self, axis: impl Into<Vector3>, angle: impl Into<f32>)
fn rotate_around_internal(self, axis: impl Into<Vector3>, angle: impl Into<f32>)
RotateAroundInternal(crate::unity_engine::vector3::Vector3, f32) overload
Sourcefn rotate_5(
self,
axis: impl Into<Vector3>,
angle: impl Into<f32>,
relative_to: impl Into<Space>,
)
fn rotate_5( self, axis: impl Into<Vector3>, angle: impl Into<f32>, relative_to: impl Into<Space>, )
Rotate(crate::unity_engine::vector3::Vector3, f32, crate::unity_engine::space::Space) overload
Sourcefn rotate_6(self, axis: impl Into<Vector3>, angle: impl Into<f32>)
fn rotate_6(self, axis: impl Into<Vector3>, angle: impl Into<f32>)
Rotate(crate::unity_engine::vector3::Vector3, f32) overload
Sourcefn rotate_around(
self,
point: impl Into<Vector3>,
axis: impl Into<Vector3>,
angle: impl Into<f32>,
)
fn rotate_around( self, point: impl Into<Vector3>, axis: impl Into<Vector3>, angle: impl Into<f32>, )
RotateAround(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32) overload
Sourcefn look_at(self, target: impl Into<Transform>, world_up: impl Into<Vector3>)
fn look_at(self, target: impl Into<Transform>, world_up: impl Into<Vector3>)
LookAt(crate::unity_engine::transform::Transform, crate::unity_engine::vector3::Vector3) overload
Sourcefn look_at_2(self, target: impl Into<Transform>)
fn look_at_2(self, target: impl Into<Transform>)
LookAt(crate::unity_engine::transform::Transform) overload
Sourcefn look_at_3(
self,
world_position: impl Into<Vector3>,
world_up: impl Into<Vector3>,
)
fn look_at_3( self, world_position: impl Into<Vector3>, world_up: impl Into<Vector3>, )
LookAt(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload
Sourcefn look_at_4(self, world_position: impl Into<Vector3>)
fn look_at_4(self, world_position: impl Into<Vector3>)
LookAt(crate::unity_engine::vector3::Vector3) overload
Sourcefn internal_look_at(
self,
world_position: impl Into<Vector3>,
world_up: impl Into<Vector3>,
)
fn internal_look_at( self, world_position: impl Into<Vector3>, world_up: impl Into<Vector3>, )
Internal_LookAt(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload
Sourcefn transform_direction(self, direction: impl Into<Vector3>) -> Vector3
fn transform_direction(self, direction: impl Into<Vector3>) -> Vector3
TransformDirection(crate::unity_engine::vector3::Vector3) overload
Sourcefn transform_direction_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3
fn transform_direction_2( self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>, ) -> Vector3
TransformDirection(f32, f32, f32) overload
Sourcefn inverse_transform_direction(self, direction: impl Into<Vector3>) -> Vector3
fn inverse_transform_direction(self, direction: impl Into<Vector3>) -> Vector3
InverseTransformDirection(crate::unity_engine::vector3::Vector3) overload
Sourcefn inverse_transform_direction_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3
fn inverse_transform_direction_2( self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>, ) -> Vector3
InverseTransformDirection(f32, f32, f32) overload
Sourcefn transform_vector(self, vector: impl Into<Vector3>) -> Vector3
fn transform_vector(self, vector: impl Into<Vector3>) -> Vector3
TransformVector(crate::unity_engine::vector3::Vector3) overload
Sourcefn transform_vector_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3
fn transform_vector_2( self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>, ) -> Vector3
TransformVector(f32, f32, f32) overload
Sourcefn inverse_transform_vector(self, vector: impl Into<Vector3>) -> Vector3
fn inverse_transform_vector(self, vector: impl Into<Vector3>) -> Vector3
InverseTransformVector(crate::unity_engine::vector3::Vector3) overload
Sourcefn inverse_transform_vector_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3
fn inverse_transform_vector_2( self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>, ) -> Vector3
InverseTransformVector(f32, f32, f32) overload
Sourcefn transform_point(self, position: impl Into<Vector3>) -> Vector3
fn transform_point(self, position: impl Into<Vector3>) -> Vector3
TransformPoint(crate::unity_engine::vector3::Vector3) overload
Sourcefn transform_point_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3
fn transform_point_2( self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>, ) -> Vector3
TransformPoint(f32, f32, f32) overload
Sourcefn inverse_transform_point(self, position: impl Into<Vector3>) -> Vector3
fn inverse_transform_point(self, position: impl Into<Vector3>) -> Vector3
InverseTransformPoint(crate::unity_engine::vector3::Vector3) overload
Sourcefn inverse_transform_point_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
z: impl Into<f32>,
) -> Vector3
fn inverse_transform_point_2( self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>, ) -> Vector3
InverseTransformPoint(f32, f32, f32) overload
Sourcefn get_child_count(self) -> i32
fn get_child_count(self) -> i32
get_childCount() overload
Sourcefn detach_children(self)
fn detach_children(self)
DetachChildren() overload
Sourcefn set_as_first_sibling(self)
fn set_as_first_sibling(self)
SetAsFirstSibling() overload
Sourcefn set_as_last_sibling(self)
fn set_as_last_sibling(self)
SetAsLastSibling() overload
Sourcefn set_sibling_index(self, index: impl Into<i32>)
fn set_sibling_index(self, index: impl Into<i32>)
SetSiblingIndex(i32) overload
Sourcefn move_after_sibling(
self,
transform: impl Into<Transform>,
notify_editor_and_mark_dirty: impl Into<bool>,
)
fn move_after_sibling( self, transform: impl Into<Transform>, notify_editor_and_mark_dirty: impl Into<bool>, )
MoveAfterSibling(crate::unity_engine::transform::Transform, bool) overload
Sourcefn get_sibling_index(self) -> i32
fn get_sibling_index(self) -> i32
GetSiblingIndex() overload
Sourcefn find(self, n: impl Into<Il2CppString>) -> Transform
fn find(self, n: impl Into<Il2CppString>) -> Transform
Find(::unity::Il2CppString) overload
Sourcefn send_transform_changed_scale(self)
fn send_transform_changed_scale(self)
SendTransformChangedScale() overload
Sourcefn get_lossy_scale(self) -> Vector3
fn get_lossy_scale(self) -> Vector3
get_lossyScale() overload
Sourcefn is_child_of(self, parent: impl Into<Transform>) -> bool
fn is_child_of(self, parent: impl Into<Transform>) -> bool
IsChildOf(crate::unity_engine::transform::Transform) overload
Sourcefn get_has_changed(self) -> bool
fn get_has_changed(self) -> bool
get_hasChanged() overload
Sourcefn set_has_changed(self, value: impl Into<bool>)
fn set_has_changed(self, value: impl Into<bool>)
set_hasChanged(bool) overload
Sourcefn find_child(self, n: impl Into<Il2CppString>) -> Transform
fn find_child(self, n: impl Into<Il2CppString>) -> Transform
FindChild(::unity::Il2CppString) overload
Sourcefn get_enumerator(self) -> IEnumerator
fn get_enumerator(self) -> IEnumerator
GetEnumerator() overload
Sourcefn rotate_around_2(self, axis: impl Into<Vector3>, angle: impl Into<f32>)
fn rotate_around_2(self, axis: impl Into<Vector3>, angle: impl Into<f32>)
RotateAround(crate::unity_engine::vector3::Vector3, f32) overload
Sourcefn rotate_around_local(self, axis: impl Into<Vector3>, angle: impl Into<f32>)
fn rotate_around_local(self, axis: impl Into<Vector3>, angle: impl Into<f32>)
RotateAroundLocal(crate::unity_engine::vector3::Vector3, f32) overload
Sourcefn get_hierarchy_capacity(self) -> i32
fn get_hierarchy_capacity(self) -> i32
get_hierarchyCapacity() overload
Sourcefn set_hierarchy_capacity(self, value: impl Into<i32>)
fn set_hierarchy_capacity(self, value: impl Into<i32>)
set_hierarchyCapacity(i32) overload
Sourcefn internal_get_hierarchy_capacity(self) -> i32
fn internal_get_hierarchy_capacity(self) -> i32
internal_getHierarchyCapacity() overload
Sourcefn internal_set_hierarchy_capacity(self, value: impl Into<i32>)
fn internal_set_hierarchy_capacity(self, value: impl Into<i32>)
internal_setHierarchyCapacity(i32) overload
Sourcefn get_hierarchy_count(self) -> i32
fn get_hierarchy_count(self) -> i32
get_hierarchyCount() overload
Sourcefn internal_get_hierarchy_count(self) -> i32
fn internal_get_hierarchy_count(self) -> i32
internal_getHierarchyCount() overload
Sourcefn is_non_uniform_scale_transform(self) -> bool
fn is_non_uniform_scale_transform(self) -> bool
IsNonUniformScaleTransform() overload
Sourcefn get_position_injected(self) -> Vector3
fn get_position_injected(self) -> Vector3
get_position_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_position_injected(self) -> Vector3
fn set_position_injected(self) -> Vector3
set_position_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_local_position_injected(self) -> Vector3
fn get_local_position_injected(self) -> Vector3
get_localPosition_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_local_position_injected(self) -> Vector3
fn set_local_position_injected(self) -> Vector3
set_localPosition_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_local_euler_angles_injected(
self,
order: impl Into<RotationOrder>,
) -> Vector3
fn get_local_euler_angles_injected( self, order: impl Into<RotationOrder>, ) -> Vector3
GetLocalEulerAngles_Injected(crate::unity_engine::rotationorder::RotationOrder, *mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_local_euler_angles_injected(
self,
order: impl Into<RotationOrder>,
) -> Vector3
fn set_local_euler_angles_injected( self, order: impl Into<RotationOrder>, ) -> Vector3
SetLocalEulerAngles_Injected(*mutcrate::unity_engine::vector3::Vector3, crate::unity_engine::rotationorder::RotationOrder) overload
Sourcefn set_local_euler_hint_injected(self) -> Vector3
fn set_local_euler_hint_injected(self) -> Vector3
SetLocalEulerHint_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_rotation_injected(self) -> Quaternion
fn get_rotation_injected(self) -> Quaternion
get_rotation_Injected(*mutcrate::unity_engine::quaternion::Quaternion) overload
Sourcefn set_rotation_injected(self) -> Quaternion
fn set_rotation_injected(self) -> Quaternion
set_rotation_Injected(*mutcrate::unity_engine::quaternion::Quaternion) overload
Sourcefn get_local_rotation_injected(self) -> Quaternion
fn get_local_rotation_injected(self) -> Quaternion
get_localRotation_Injected(*mutcrate::unity_engine::quaternion::Quaternion) overload
Sourcefn set_local_rotation_injected(self) -> Quaternion
fn set_local_rotation_injected(self) -> Quaternion
set_localRotation_Injected(*mutcrate::unity_engine::quaternion::Quaternion) overload
Sourcefn get_local_scale_injected(self) -> Vector3
fn get_local_scale_injected(self) -> Vector3
get_localScale_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_local_scale_injected(self) -> Vector3
fn set_local_scale_injected(self) -> Vector3
set_localScale_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_world_to_local_matrix_injected(self) -> Matrix4x4
fn get_world_to_local_matrix_injected(self) -> Matrix4x4
get_worldToLocalMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcefn get_local_to_world_matrix_injected(self) -> Matrix4x4
fn get_local_to_world_matrix_injected(self) -> Matrix4x4
get_localToWorldMatrix_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcefn set_position_and_rotation_injected(self) -> (Vector3, Quaternion)
fn set_position_and_rotation_injected(self) -> (Vector3, Quaternion)
SetPositionAndRotation_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::quaternion::Quaternion) overload
Sourcefn rotate_around_internal_injected(self, angle: impl Into<f32>) -> Vector3
fn rotate_around_internal_injected(self, angle: impl Into<f32>) -> Vector3
RotateAroundInternal_Injected(*mutcrate::unity_engine::vector3::Vector3, f32) overload
Sourcefn internal_look_at_injected(self) -> (Vector3, Vector3)
fn internal_look_at_injected(self) -> (Vector3, Vector3)
Internal_LookAt_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn transform_direction_injected(self) -> (Vector3, Vector3)
fn transform_direction_injected(self) -> (Vector3, Vector3)
TransformDirection_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn inverse_transform_direction_injected(self) -> (Vector3, Vector3)
fn inverse_transform_direction_injected(self) -> (Vector3, Vector3)
InverseTransformDirection_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn transform_vector_injected(self) -> (Vector3, Vector3)
fn transform_vector_injected(self) -> (Vector3, Vector3)
TransformVector_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn inverse_transform_vector_injected(self) -> (Vector3, Vector3)
fn inverse_transform_vector_injected(self) -> (Vector3, Vector3)
InverseTransformVector_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn transform_point_injected(self) -> (Vector3, Vector3)
fn transform_point_injected(self) -> (Vector3, Vector3)
TransformPoint_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn inverse_transform_point_injected(self) -> (Vector3, Vector3)
fn inverse_transform_point_injected(self) -> (Vector3, Vector3)
InverseTransformPoint_Injected(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_lossy_scale_injected(self) -> Vector3
fn get_lossy_scale_injected(self) -> Vector3
get_lossyScale_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn rotate_around_injected(self, angle: impl Into<f32>) -> Vector3
fn rotate_around_injected(self, angle: impl Into<f32>) -> Vector3
RotateAround_Injected(*mutcrate::unity_engine::vector3::Vector3, f32) overload
Sourcefn rotate_around_local_injected(self, angle: impl Into<f32>) -> Vector3
fn rotate_around_local_injected(self, angle: impl Into<f32>) -> Vector3
RotateAroundLocal_Injected(*mutcrate::unity_engine::vector3::Vector3, 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: ITransform> ITransformMethods for __T
unity_engine-transform only.