Table of Contents

Class TestSphere

Namespace
AlphaFramework.World.Components
Assembly
AlphaFramework.World.dll

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

public class TestSphere : Render, ICloneable
Inheritance
TestSphere
Implements
Inherited Members
Extension Methods

Properties

Alpha

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

public int Alpha { get; set; }

Property Value

int

Radius

The radius of the sphere.

public float Radius { get; set; }

Property Value

float

Slices

The number of vertical slices to divide the sphere into.

public int Slices { get; set; }

Property Value

int

Stacks

The number of horizontal stacks to divide the sphere into.

public int Stacks { get; set; }

Property Value

int

Texture

The filename of the texture to place on the sphere.

public string? Texture { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

See Also