public enum ShapeKindWhich shape a parametric entity is, before anybody edits it.
Remarks
Doc 24's Creation table, and the last five entries are the point of it. Box, cylinder, cone, sphere, capsule, torus and plane are the shapes every engine ships; Stairs, Ramp, Arch, Pipe and DoorFrame are the ones that are tedious to build by hand, which is why Unreal ships a Stairs tool and why a blockout toolset that stopped at the seven would send a designer back to extruding a staircase one step at a time.
⚠ Deliberately not PrimitiveKind, and not an extension of it. That enum is Vixen.Rendering's and says which of the built-in meshes an entity draws — it is a four-byte value a thousand entities share one upload of, and its members are a file format the runtime reads. These have parameters, produce one mesh per entity, and are the editor's: a stair with ten steps and a stair with eleven are not the same geometry, so nothing about the sharing that makes PrimitiveKind worth having applies.
Fields and properties (12)
BoxA rectangular box: six four-sided faces, one group each.
PlaneA flat rectangle in the ground plane, optionally divided into a grid.
CylinderA round column with a cap at each end.
ConeA round column that comes to a point.
SphereA ball, as rings of quads between two fans.
CapsuleA cylinder with a hemisphere on each end.
TorusA ring of circular cross-section.
StairsA flight of steps, as one closed solid rather than a pile of boxes.
RampA wedge: a box with one face sloped from the ground to the full height.
ArchA wall with a round-topped opening through it.
PipeA tube with a bore down the middle and an annulus at each end.
DoorFrameA wall with a square-topped opening through it.
Used by (16)
- MeshBooleanPropertyTestsVixen.Geometry.Tests
- MeshBooleanTestsVixen.Geometry.Tests
- MeshShapeTestsVixen.Geometry.Tests
- MeshShapesVixen.Geometry
- MeshSurfaceTestsVixen.Geometry.Tests
- ShapeParametersVixen.Geometry
- BlockoutBooleanTestsVixen.Editor.Blockout.Tests
- BlockoutCreateVixen.Editor.Blockout
- BlockoutCreateTestsVixen.Editor.Blockout.Tests
- BlockoutCubeGridVixen.Editor.Blockout
- BlockoutHistoryTestsVixen.Editor.Blockout.Tests
- BlockoutModeVixen.Editor.Blockout
- BlockoutModuleVixen.Editor.Blockout
- BlockoutSurfaceTestsVixen.Editor.Blockout.Tests
- EditMeshesVixen.Editor.SceneView
- ShapeDragVixen.Editor.Blockout