Struct gdnative::PrimitiveMesh
[−]
[src]
pub struct PrimitiveMesh { /* fields omitted */ }
Methods
impl PrimitiveMesh
[src]
pub fn _update(&self)
[src]
pub fn set_material(&self, material: Option<GodotRef<Material>>)
[src]
pub fn get_material(&self) -> Option<GodotRef<Material>>
[src]
pub fn get_mesh_arrays(&self) -> VariantArray
[src]
Methods from Deref<Target = Mesh>
pub fn set_lightmap_size_hint(&self, size: Vector2)
[src]
pub fn get_lightmap_size_hint(&self) -> Vector2
[src]
pub fn create_trimesh_shape(&self) -> Option<GodotRef<Shape>>
[src]
pub fn create_convex_shape(&self) -> Option<GodotRef<Shape>>
[src]
pub fn create_outline(&self, margin: f64) -> Option<GodotRef<Mesh>>
[src]
pub fn get_faces(&self) -> Vector3Array
[src]
pub fn generate_triangle_mesh(&self) -> Option<GodotRef<TriangleMesh>>
[src]
Trait Implementations
impl GodotClass for PrimitiveMesh
[src]
type ClassData = PrimitiveMesh
type Reference = PrimitiveMesh
fn godot_name() -> &'static str
[src]
unsafe fn register_class(_desc: *mut c_void)
[src]
fn godot_info(&self) -> &GodotClassInfo
[src]
unsafe fn reference(
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference
[src]
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference