csc.domain.assets.MeshRaw¶
- class csc.domain.assets.MeshRaw¶
MeshRaw class
Contains mesh data.
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)normals
(self)-> Vector4f[]
set_normals
(self, normals)set_texture_coords
(self, texture_coords)set_triangles
(self, triangles)set_vertices
(self, vertices)texture_coords
(self)-> Vector2f[]
triangles
(self)-> Triangle[]
vertices
(self)-> Vector4f[]
- __init__(*args, **kwargs)¶
- __module__ = 'csc.domain.assets'¶
- normals(self: csc.domain.assets.MeshRaw) List[numpy.ndarray[numpy.float32[4, 1]]] ¶
-> Vector4f[]
- set_normals(self: csc.domain.assets.MeshRaw, normals: List[numpy.ndarray[numpy.float32[4, 1]]]) None ¶
- set_texture_coords(self: csc.domain.assets.MeshRaw, texture_coords: List[numpy.ndarray[numpy.float32[2, 1]]]) None ¶
- set_triangles(self: csc.domain.assets.MeshRaw, triangles: List[csc.domain.assets.Triangle]) None ¶
- set_vertices(self: csc.domain.assets.MeshRaw, vertices: List[numpy.ndarray[numpy.float32[4, 1]]]) None ¶
- texture_coords(self: csc.domain.assets.MeshRaw) List[numpy.ndarray[numpy.float32[2, 1]]] ¶
-> Vector2f[]
- triangles(self: csc.domain.assets.MeshRaw) List[csc.domain.assets.Triangle] ¶
-> Triangle[]
- vertices(self: csc.domain.assets.MeshRaw) List[numpy.ndarray[numpy.float32[4, 1]]] ¶
-> Vector4f[]