AlphaFramework API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
AlphaFramework.World.Components.TestSphere Class Reference

Renders a simple (optionally textured) sphere for benchmarks, etc. More...

Inheritance diagram for AlphaFramework.World.Components.TestSphere:
AlphaFramework.World.Components.Render

Public Member Functions

override string ToString ()
 
- Public Member Functions inherited from AlphaFramework.World.Components.Render
override string ToString ()
 
Render Clone ()
 Creates a shallow copy of this Render More...
 

Properties

string Texture [get, set]
 The filename of the texture to place on the sphere. More...
 
float Radius [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 = 50 [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...
 
- Properties inherited from AlphaFramework.World.Components.Render
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...
 

Detailed Description

Renders a simple (optionally textured) sphere for benchmarks, etc.

See Also
EntityTemplateBase{TSelf}.Render

Property Documentation

int AlphaFramework.World.Components.TestSphere.Alpha = 50
getset

The level of transparency from 0 (solid) to 255 (invisible), 256 for alpha channel, -256 for binary alpha channel, 257 for additive blending.

float AlphaFramework.World.Components.TestSphere.Radius
getset

The radius of the sphere.

int AlphaFramework.World.Components.TestSphere.Slices = 50
getset

The number of vertical slices to divide the sphere into.

int AlphaFramework.World.Components.TestSphere.Stacks = 50
getset

The number of horizontal stacks to divide the sphere into.

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: