Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / RadiusHeightMeshParameters

Type Alias: RadiusHeightMeshParameters

ts
type RadiusHeightMeshParameters = {
  radius: number;
  height: number;
};

Defined in: components/MeshGeometry.ts:39

Radius + height primitive parameters (capsule, cylinder).

Properties

PropertyTypeDescriptionDefined in
radiusnumberRadius of the cap/cylinder cross-section.components/MeshGeometry.ts:41
heightnumberLength of the straight section between caps (capsule) or full height (cylinder).components/MeshGeometry.ts:43