Module ambient_api_core::core::primitives::components
source · Expand description
Auto-generated component definitions.
Functions
- Capsule: If attached to an entity alongside the other
capsule_*
components, the entity will be converted to a capsule primitive. - Capsule half-height: Set the half-height of the
capsule
entity, spanning Z-axis, excluding the caps. - Capsule latitudes: Set the number of latitudinal sections. Should be even.
- Capsule longitudes: Set the number of longitudinal sections.
- Capsule radius: Set the radius of a
capsule
entity, spanning XY-plane. - Capsule rings: Set the number of sections between the caps.
- Cube: If attached to an entity, the entity will be converted to a cube primitive.
- Quad: If attached to an entity, the entity will be converted to a quad primitive.
- Sphere: If attached to an entity alongside the other
sphere_*
components, the entity will be converted to a sphere primitive. - Sphere radius: Set the radius of a
sphere
entity. - Sphere sectors: Set the longitudinal sectors of a
sphere
entity. - Sphere stacks: Set the latitudinal stacks of a
sphere
entity. - Torus: If attached to an entity alongside the other
torus_*
components, the entity will be converted to a torus primitive. - Torus inner radius: Set the inner radius of a
torus
entity, spanning XY-plane. - Torus loops: Set the loops of a
torus
entity, spanning XY-plane. - Torus outer radius: Set the outer radius of a
torus
entity, spanning XY-plane. - Torus slices: Set the slices of a
torus
entity, spanning XY-plane.