Known values for Specifies the shape type.
More...
#include <CesiumGltf/Shape.h>
|
static const std::string | sphere = "sphere" |
| A sphere with a specified radius, centered at the origin in local space.
|
|
static const std::string | box = "box" |
| An axis-aligned box with a size per-axis, centered at the origin in local space.
|
|
static const std::string | capsule = "capsule" |
| A capsule shape, centered at the origin in local space, equivalent to the convex hull of two spheres located along the Y axis (in local space) at a specified distance.
|
|
static const std::string | cylinder = "cylinder" |
| A cylinder shape, centered at the origin in local space, equivalent to the convex hull of two circles in the X/Z plane positioned along the Y axis at a specified distance.
|
|
Known values for Specifies the shape type.
Definition at line 28 of file Shape.h.
◆ box
const std::string CesiumGltf::Shape::Type::box = "box" |
|
inlinestatic |
An axis-aligned box with a size per-axis, centered at the origin in local space.
Definition at line 35 of file Shape.h.
◆ capsule
const std::string CesiumGltf::Shape::Type::capsule = "capsule" |
|
inlinestatic |
A capsule shape, centered at the origin in local space, equivalent to the convex hull of two spheres located along the Y axis (in local space) at a specified distance.
Definition at line 40 of file Shape.h.
◆ cylinder
const std::string CesiumGltf::Shape::Type::cylinder = "cylinder" |
|
inlinestatic |
A cylinder shape, centered at the origin in local space, equivalent to the convex hull of two circles in the X/Z plane positioned along the Y axis at a specified distance.
Definition at line 45 of file Shape.h.
◆ sphere
const std::string CesiumGltf::Shape::Type::sphere = "sphere" |
|
inlinestatic |
A sphere with a specified radius, centered at the origin in local space.
Definition at line 31 of file Shape.h.
The documentation for this struct was generated from the following file:
- /home/runner/work/cesium-native/cesium-native/CesiumGltf/generated/include/CesiumGltf/Shape.h