Skip to main content

IJointMethods

Trait IJointMethods 

Source
pub trait IJointMethods: IJoint {
    // Provided methods
    fn get_connected_body(self) -> Rigidbody { ... }
    fn set_connected_anchor(self, value: impl Into<Vector3>) { ... }
    fn ctor(self) { ... }
    fn set_connected_anchor_injected(self) -> Vector3 { ... }
}

Provided Methods§

Source

fn get_connected_body(self) -> Rigidbody

get_connectedBody() overload

Source

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

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

Source

fn ctor(self)

.ctor() overload

Source

fn set_connected_anchor_injected(self) -> Vector3

set_connectedAnchor_Injected(*mutcrate::unity_engine::vector3::Vector3) 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: IJoint> IJointMethods for __T

Available on crate feature unity_engine-joint only.