pub trait IDebugShapesMethods: IDebugShapes {
// Provided methods
fn build_sphere(
self,
radius: impl Into<f32>,
long_subdiv: impl Into<u32>,
lat_subdiv: impl Into<u32>,
) -> Mesh { ... }
fn build_box(
self,
length: impl Into<f32>,
width: impl Into<f32>,
height: impl Into<f32>,
) -> Mesh { ... }
fn build_cone(
self,
height: impl Into<f32>,
top_radius: impl Into<f32>,
bottom_radius: impl Into<f32>,
nb_sides: impl Into<i32>,
) -> Mesh { ... }
fn build_pyramid(
self,
width: impl Into<f32>,
height: impl Into<f32>,
depth: impl Into<f32>,
) -> Mesh { ... }
fn build_shapes(self) { ... }
fn rebuild_resources(self) { ... }
fn request_sphere_mesh(self) -> Mesh { ... }
fn request_box_mesh(self) -> Mesh { ... }
fn request_cone_mesh(self) -> Mesh { ... }
fn request_pyramid_mesh(self) -> Mesh { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn build_sphere(
self,
radius: impl Into<f32>,
long_subdiv: impl Into<u32>,
lat_subdiv: impl Into<u32>,
) -> Mesh
fn build_sphere( self, radius: impl Into<f32>, long_subdiv: impl Into<u32>, lat_subdiv: impl Into<u32>, ) -> Mesh
BuildSphere(*mutcrate::unity_engine::mesh::Mesh, f32, u32, u32) overload
Sourcefn build_box(
self,
length: impl Into<f32>,
width: impl Into<f32>,
height: impl Into<f32>,
) -> Mesh
fn build_box( self, length: impl Into<f32>, width: impl Into<f32>, height: impl Into<f32>, ) -> Mesh
BuildBox(*mutcrate::unity_engine::mesh::Mesh, f32, f32, f32) overload
Sourcefn build_cone(
self,
height: impl Into<f32>,
top_radius: impl Into<f32>,
bottom_radius: impl Into<f32>,
nb_sides: impl Into<i32>,
) -> Mesh
fn build_cone( self, height: impl Into<f32>, top_radius: impl Into<f32>, bottom_radius: impl Into<f32>, nb_sides: impl Into<i32>, ) -> Mesh
BuildCone(*mutcrate::unity_engine::mesh::Mesh, f32, f32, f32, i32) overload
Sourcefn build_pyramid(
self,
width: impl Into<f32>,
height: impl Into<f32>,
depth: impl Into<f32>,
) -> Mesh
fn build_pyramid( self, width: impl Into<f32>, height: impl Into<f32>, depth: impl Into<f32>, ) -> Mesh
BuildPyramid(*mutcrate::unity_engine::mesh::Mesh, f32, f32, f32) overload
Sourcefn build_shapes(self)
fn build_shapes(self)
BuildShapes() overload
Sourcefn rebuild_resources(self)
fn rebuild_resources(self)
RebuildResources() overload
Sourcefn request_sphere_mesh(self) -> Mesh
fn request_sphere_mesh(self) -> Mesh
RequestSphereMesh() overload
Sourcefn request_box_mesh(self) -> Mesh
fn request_box_mesh(self) -> Mesh
RequestBoxMesh() overload
Sourcefn request_cone_mesh(self) -> Mesh
fn request_cone_mesh(self) -> Mesh
RequestConeMesh() overload
Sourcefn request_pyramid_mesh(self) -> Mesh
fn request_pyramid_mesh(self) -> Mesh
RequestPyramidMesh() 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: IDebugShapes> IDebugShapesMethods for __T
Available on crate feature
unity_engine-rendering-debugshapes only.