Expand description
Structs§
- Mesh
- A Mesh is a single collection of triangular faces with extra surface information to enhance rendering! StereoKit meshes are composed of a list of vertices, and a list of indices to connect the vertices into faces. Nothing more than that is stored here, so typically meshes are combined with Materials, or added to Models in order to draw them.
- Vertex
- This represents a single vertex in a Mesh, all StereoKit Meshes currently use this exact layout! It’s good to fill out all values of a Vertex explicitly, as default values for the normal (0,0,0) and color (0,0,0,0) will cause your mesh to appear completely black, or even transparent in most shaders! https://stereokit.net/Pages/StereoKit/Vertex.html
- _MeshT
- StereoKit internal type.
Enums§
- Memory
- For performance sensitive areas, or places dealing with large chunks of memory, it can be faster to get a reference to that memory rather than copying it! However, if this isn’t explicitly stated, it isn’t necessarily clear what’s happening. So this enum allows us to visibly specify what type of memory reference is occurring. https://stereokit.net/Pages/StereoKit/Memory.html
Functions§
- mesh_
addref ⚠ - mesh_
copy ⚠ - mesh_
create ⚠ - mesh_
draw ⚠ - mesh_
find ⚠ - mesh_
gen_ ⚠circle - mesh_
gen_ ⚠cone - mesh_
gen_ ⚠cube - mesh_
gen_ ⚠cylinder - mesh_
gen_ ⚠plane - mesh_
gen_ ⚠rounded_ cube - mesh_
gen_ ⚠sphere - mesh_
get_ ⚠bounds - mesh_
get_ ⚠id - mesh_
get_ ⚠ind_ count - mesh_
get_ ⚠inds - mesh_
get_ ⚠keep_ data - mesh_
get_ ⚠triangle - mesh_
get_ ⚠vert_ count - mesh_
get_ ⚠verts - mesh_
has_ ⚠skin - mesh_
ray_ ⚠intersect - mesh_
ray_ ⚠intersect_ bvh - mesh_
release ⚠ - mesh_
set_ ⚠bounds - mesh_
set_ ⚠data - mesh_
set_ ⚠draw_ inds - mesh_
set_ ⚠id - mesh_
set_ ⚠inds - mesh_
set_ ⚠keep_ data - mesh_
set_ ⚠skin - mesh_
set_ ⚠verts - mesh_
update_ ⚠skin
Type Aliases§
- Inds
- Mesh index data https://stereokit.net/Pages/StereoKit/Mesh.html
- MeshT
- StereoKit ffi type.
- VindT
- StereoKit ffi type.