rigComponent 0.1.1
RigKit pack API - rigComponent
Loading...
Searching...
No Matches
rigkit::ecs::CRegularPolygon Struct Reference

Equilateral n-gon on a circle. More...

#include <rigComponent/src/CRegularPolygon.h>

Public Attributes

float radius = 50.0f
 Centre to vertex.
float rotationDegrees = 0.0f
 Shape-local spin from +X, independent of the entity transform.

Detailed Description

Equilateral n-gon on a circle.

Speaks rig.geometry.regular_polygon.

Stays parametric, so sides and radius remain editable. A triangle is three sides. Arbitrary vertex lists belong on CPolygon.


The documentation for this struct was generated from the following file:
  • packs/rigComponent/src/CRegularPolygon.h