tiramisu/primitive

Typed synchronous primitive geometry component.

Values

pub fn box(shape: vec3.Vec3(Float)) -> extension.Value(msg)
pub fn cast_shadow(value: Bool) -> extension.Value(msg)
pub fn cone(
  radius radius: Float,
  height height: Float,
  segments segments: Int,
) -> extension.Value(msg)
pub fn cylinder(
  radius_top radius_top: Float,
  radius_bottom radius_bottom: Float,
  height height: Float,
  segments segments: Int,
) -> extension.Value(msg)
pub fn hidden(value: Bool) -> extension.Value(msg)
pub fn plane(size: vec2.Vec2(Float)) -> extension.Value(msg)
pub fn receive_shadow(value: Bool) -> extension.Value(msg)
pub fn sphere(
  radius radius: Float,
  segments segments: vec2.Vec2(Int),
) -> extension.Value(msg)
pub fn torus(
  radius radius: Float,
  tube tube: Float,
  radial_segments radial_segments: Int,
  tubular_segments tubular_segments: Int,
) -> extension.Value(msg)
Search Document