Crate ambient_primitives

Source

Structs§

BoxLine
Cube
Quad
UVSphere
UVSphereMesh
A sphere made of sectors and stacks

Functions§

capsule
Capsule: If attached to an entity alongside the other capsule_* components, the entity will be converted to a capsule primitive.
capsule_data
capsule_half_height
Capsule half-height: Set the half-height of the capsule entity, spanning Z-axis, excluding the caps.
capsule_latitudes
Capsule latitudes: Set the number of latitudinal sections. Should be even.
capsule_longitudes
Capsule longitudes: Set the number of longitudinal sections.
capsule_radius
Capsule radius: Set the radius of a capsule entity, spanning XY-plane.
capsule_rings
Capsule rings: Set the number of sections between the caps.
cube
Cube: If attached to an entity, the entity will be converted to a cube primitive.
cube_data
init_components
Initialize the components for the module
quad
Quad: If attached to an entity, the entity will be converted to a quad primitive.
quad_data
sphere
Sphere: If attached to an entity alongside the other sphere_* components, the entity will be converted to a sphere primitive.
sphere_data
sphere_radius
Sphere radius: Set the radius of a sphere entity.
sphere_sectors
Sphere sectors: Set the longitudinal sectors of a sphere entity.
sphere_stacks
Sphere stacks: Set the latitudinal stacks of a sphere entity.
systems
uv_sphere