pub trait IDebugMeshMethods: IDebugMesh {
// Provided methods
fn get_font_size(self) -> f32 { ... }
fn ctor(self, vertex_capacity: impl Into<i32>) { ... }
fn ctor_2(
self,
go: impl Into<GameObject>,
sub_mesh_count: impl Into<i32>,
vertex_capacity: impl Into<i32>,
) { ... }
fn add_text(
self,
x: impl Into<f32>,
y: impl Into<f32>,
color: impl Into<Color>,
text: impl Into<Il2CppString>,
) { ... }
fn add_text_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
color: impl Into<Color>,
text: impl Into<Array<u16>>,
) { ... }
fn add_line(
self,
x0: impl Into<f32>,
y0: impl Into<f32>,
x1: impl Into<f32>,
y1: impl Into<f32>,
color: impl Into<Color>,
) { ... }
fn add_line_2(
self,
pos0: impl Into<Vector2>,
pos1: impl Into<Vector2>,
color: impl Into<Color>,
) { ... }
fn add_rect(self, rect: impl Into<Rect>, color: impl Into<Color>) { ... }
fn add_rect_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
w: impl Into<f32>,
h: impl Into<f32>,
color: impl Into<Color>,
) { ... }
fn add_chara(
self,
x: impl Into<f32>,
y: impl Into<f32>,
color: impl Into<Color32>,
code: impl Into<u16>,
) -> f32 { ... }
}Provided Methods§
Sourcefn get_font_size(self) -> f32
fn get_font_size(self) -> f32
get_FontSize() overload
Sourcefn ctor_2(
self,
go: impl Into<GameObject>,
sub_mesh_count: impl Into<i32>,
vertex_capacity: impl Into<i32>,
)
fn ctor_2( self, go: impl Into<GameObject>, sub_mesh_count: impl Into<i32>, vertex_capacity: impl Into<i32>, )
.ctor(crate::unity_engine::gameobject::GameObject, i32, i32) overload
Sourcefn add_text(
self,
x: impl Into<f32>,
y: impl Into<f32>,
color: impl Into<Color>,
text: impl Into<Il2CppString>,
)
fn add_text( self, x: impl Into<f32>, y: impl Into<f32>, color: impl Into<Color>, text: impl Into<Il2CppString>, )
AddText(f32, f32, crate::unity_engine::color::Color, ::unity::Il2CppString) overload
Sourcefn add_text_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
color: impl Into<Color>,
text: impl Into<Array<u16>>,
)
fn add_text_2( self, x: impl Into<f32>, y: impl Into<f32>, color: impl Into<Color>, text: impl Into<Array<u16>>, )
AddText(f32, f32, crate::unity_engine::color::Color, ::unity::Array<u16>) overload
Sourcefn add_line(
self,
x0: impl Into<f32>,
y0: impl Into<f32>,
x1: impl Into<f32>,
y1: impl Into<f32>,
color: impl Into<Color>,
)
fn add_line( self, x0: impl Into<f32>, y0: impl Into<f32>, x1: impl Into<f32>, y1: impl Into<f32>, color: impl Into<Color>, )
AddLine(f32, f32, f32, f32, crate::unity_engine::color::Color) overload
Sourcefn add_line_2(
self,
pos0: impl Into<Vector2>,
pos1: impl Into<Vector2>,
color: impl Into<Color>,
)
fn add_line_2( self, pos0: impl Into<Vector2>, pos1: impl Into<Vector2>, color: impl Into<Color>, )
AddLine(crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2, crate::unity_engine::color::Color) overload
Sourcefn add_rect(self, rect: impl Into<Rect>, color: impl Into<Color>)
fn add_rect(self, rect: impl Into<Rect>, color: impl Into<Color>)
AddRect(crate::unity_engine::rect::Rect, crate::unity_engine::color::Color) overload
Sourcefn add_rect_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
w: impl Into<f32>,
h: impl Into<f32>,
color: impl Into<Color>,
)
fn add_rect_2( self, x: impl Into<f32>, y: impl Into<f32>, w: impl Into<f32>, h: impl Into<f32>, color: impl Into<Color>, )
AddRect(f32, f32, f32, f32, crate::unity_engine::color::Color) 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: IDebugMesh> IDebugMeshMethods for __T
root-debugmesh only.