Skip to main content

ICompositeCollider2DMethods

Trait ICompositeCollider2DMethods 

Source
pub trait ICompositeCollider2DMethods: ICompositeCollider2D {
    // Provided methods
    fn get_path_count(self) -> i32 { ... }
    fn get_point_count(self) -> i32 { ... }
    fn get_path(
        self,
        index: impl Into<i32>,
        points: impl Into<Array<Vector2>>,
    ) -> i32 { ... }
    fn get_path_array_internal(
        self,
        index: impl Into<i32>,
        points: impl Into<Array<Vector2>>,
    ) -> i32 { ... }
}

Provided Methods§

Source

fn get_path_count(self) -> i32

get_pathCount() overload

Source

fn get_point_count(self) -> i32

get_pointCount() overload

Source

fn get_path( self, index: impl Into<i32>, points: impl Into<Array<Vector2>>, ) -> i32

GetPath(i32, ::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_path_array_internal( self, index: impl Into<i32>, points: impl Into<Array<Vector2>>, ) -> i32

GetPathArray_Internal(i32, ::unity::Array<crate::unity_engine::vector2::Vector2>) 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: ICompositeCollider2D> ICompositeCollider2DMethods for __T

Available on crate feature unity_engine-compositecollider2d only.