Module mesh_cpu_comps

Source
Expand description

These represent CPU components which you usually add to entities when you spawn them.

Structs§

CamTrack
Component that represents a track of camera extrinsics - num frames x 16
Colors
Component that represents per vertex colors
ConfigChanges
Component that modifications to the config
DiffuseImg
Component which represents a diffuse img.
Edges
Component that represents a matrix of edges as Nx2 where each row is the start idx and end idx of an edge which indexes into Verts
EdgesV1
Component that represents a matrix of vertex positions for the first vertex of an edge
EdgesV2
Component that represents a matrix of vertex positions for the second vertex of an edge
EnvironmentMap
Environment map based ambient lighting representing light from distant scenery.
Faces
Component that represents a matrix of face indices for rendering a triangle mesh
GenericImg
A generic Img that has a path and img Concrete images like DiffuseImg will contain the generic img
ImgConfig
MetalnessImg
Component which represents a metalness img.
ModelMatrix
Component that transforms from object coordinates to world. Usually added automatically but you can also add it yourself.
NormalImg
Component which represents a normal img.
Normals
Component that represents normal vectors
RoughnessImg
Component which represents a roughness img. Assumes it is stored as perceptual roughness/
Selector
Tangents
Component that represents tangents
UVs
Component that represents UV coordinates
Verts
VisLines
Component for visualization options of lines
VisMesh
Component for visualization options of meshes
VisNormals
Component for visualization options of normals
VisOutline
Component for visualization options of meshes
VisPoints
Component for visualization options of point clouds
VisWireframe
Component for visualization options of wireframe

Enums§

LineColorType
Defines the color type an entity which is displayed as a point cloud
MeshColorType
Defines the color type an entity which is displayed as a mesh
PointColorType
Defines the color type an entity which is displayed as a point cloud