MeshNode(position, vertices, layer)
Node that renders a list of vertices (without indices) (WIP). Note: 3D nodes do not currently support inheritance between each other, attributes like position, rotation, scale, and opacity will not work in parent/child inheritance.
Parameters:
position [value: Vector3, type: Vector3]
vertices [value: list of Vector3, type: list]
layer [value: 0 ~ 127, type: int]
Attributes:
add_child(child) [returns: None]
get_child(index) [returns: Node]
get_child_count() [returns: 0 or positive integer]
mark_destroy() [returns: None]
mark_destroy_all() [returns: None]
mark_destroy_children() [returns: None]
remove_child(child) [returns: None]
get_parent() [returns: None or `object`]
tick(self, dt) [returns: None]
position [value: Vector3, type: Vector3]
rotation [value: Vector3, type: Vector3]
scale [value: Vector3, type: Vector3]
vertices [value: list of Vector3, type: list]
Overrides:
tick(self, dt) [returns: None] [value: function, type: function]
file: src/nodes/3D/mesh_node.c
landing