Renders a simple (optionally textured) sphere for benchmarks, etc.
More...
|
string | Texture [get, set] |
| The filename of the texture to place on the sphere. More...
|
|
float | Radius = 50 [get, set] |
| The radius of the sphere. More...
|
|
int | Slices = 50 [get, set] |
| The number of vertical slices to divide the sphere into. More...
|
|
int | Stacks = 50 [get, set] |
| The number of horizontal stacks to divide the sphere into. More...
|
|
int | Alpha [get, set] |
| The level of transparency from 0 (solid) to 255 (invisible), 256 for alpha channel, -256 for binary alpha channel, 257 for additive blending. More...
|
|
Vector3 | Shift [get, set] |
| How this component is to be shifted before rendering. More...
|
|
bool | ShiftSpecified [get, set] |
| Indicates whether Shift has been set to a non-default value. More...
|
|
Renders a simple (optionally textured) sphere for benchmarks, etc.
- See also
- EntityTemplateBase<TSelf>.Render
◆ Alpha
int AlphaFramework.World.Components.TestSphere.Alpha |
|
getset |
The level of transparency from 0 (solid) to 255 (invisible), 256 for alpha channel, -256 for binary alpha channel, 257 for additive blending.
◆ Radius
float AlphaFramework.World.Components.TestSphere.Radius = 50 |
|
getset |
The radius of the sphere.
◆ Slices
int AlphaFramework.World.Components.TestSphere.Slices = 50 |
|
getset |
The number of vertical slices to divide the sphere into.
◆ Stacks
int AlphaFramework.World.Components.TestSphere.Stacks = 50 |
|
getset |
The number of horizontal stacks to divide the sphere into.
◆ Texture
string AlphaFramework.World.Components.TestSphere.Texture |
|
getset |
The filename of the texture to place on the sphere.
The documentation for this class was generated from the following file:
- World/Components/TestSphere.cs