AlphaFramework API  1.0.3
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 = 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...
 
- 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

◆ 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: