Declaration Syntax
C# |
namespace Tesla.Scene.Shape
Types
All Types | Classes | Enumerations |
Icon | Type | Description |
---|---|---|
Box |
A mesh that represents a 3D cube with 6 faces. A box has indexed primitives
with each vertex composed of a Position, Normal, and Texture Coordinate by default. The box
is aligned with the standard axes by default.
|
|
Line |
A mesh that represents a line, or a series of lines. Geometry is indexed and
each vertex is composed of a Position and Color by default.
|
|
Pyramid |
Pyramid shape defined by a square base with four faces that converge to a central point at the top. The center of the period is
always the origin (0, 0, 0) which is located directly inside of the pyramid's center of gravity (not center of its base). The pyramid is axis-aligned,
with its point +Y and its base on the X-Z plane
|
|
Quad |
A mesh that represents a quad that by default faces toward +Z. Its height
is along the y-axis, and width along the x-axis. The geometry is indexed and
each vertex contains a Position, Normal, and Texture coordinate by default.
|
|
Sphere |
Mesh that represents a sphere. Geometry is indexed with each vertex
containg a Position, Normal, and Texture Coordinate by default.
|
|
SphereTextureMode |
Represents the texture coordination generation on a sphere.
|
|
Teapot |
Mesh that represents the classic "Utah Teapot". Vertex data is indexed and
each vertex is composed of a Position, Normal, and Texture Coordinate by default.
|
|
Torus |
Single-holed torus shape.
|