pub trait IPolygonCollider2DMethods: IPolygonCollider2D {
// Provided methods
fn get_total_point_count(self) -> i32 { ... }
fn get_path_count(self) -> i32 { ... }
fn get_path(self, index: impl Into<i32>) -> Array<Vector2> { ... }
fn get_path_internal(self, index: impl Into<i32>) -> Array<Vector2> { ... }
}Provided Methods§
Sourcefn get_total_point_count(self) -> i32
fn get_total_point_count(self) -> i32
GetTotalPointCount() overload
Sourcefn get_path_count(self) -> i32
fn get_path_count(self) -> i32
get_pathCount() overload
Sourcefn get_path_internal(self, index: impl Into<i32>) -> Array<Vector2>
fn get_path_internal(self, index: impl Into<i32>) -> Array<Vector2>
GetPath_Internal(i32) 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: IPolygonCollider2D> IPolygonCollider2DMethods for __T
Available on crate feature
unity_engine-polygoncollider2d only.