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.Mesh Class Reference

Represents a mesh loaded from a file. More...

Inheritance diagram for AlphaFramework.World.Components.Mesh:
AlphaFramework.World.Components.Render AlphaFramework.World.Components.AnimatedMesh AlphaFramework.World.Components.StaticMesh

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 Filename [get, set]
 The filename of the mesh-file to use for rendering. More...
 
float RotationX [get, set]
 How the mesh loaded from the file shall be rotated around the X axis (east to west). More...
 
float RotationY [get, set]
 How the mesh loaded from the file shall be rotated around the Y axis (top to bottom). More...
 
float RotationZ [get, set]
 How the mesh loaded from the file shall be rotated around the Z axis (north to south). More...
 
float Scale [get, set]
 A factor by which to scale the mesh loaded from the file. More...
 
int Alpha = 1 [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...
 
bool Pickable [get, set]
 Can this mesh be picked with the mouse? More...
 
ViewType RenderIn = true [get, set]
 In what kind of Views shall this mesh be rendered? 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

Represents a mesh loaded from a file.

See Also
EntityTemplateBase{TSelf}.Render

Property Documentation

int AlphaFramework.World.Components.Mesh.Alpha = 1
getset

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

string AlphaFramework.World.Components.Mesh.Filename
getset

The filename of the mesh-file to use for rendering.

bool AlphaFramework.World.Components.Mesh.Pickable
getset

Can this mesh be picked with the mouse?

ViewType AlphaFramework.World.Components.Mesh.RenderIn = true
getset

In what kind of Views shall this mesh be rendered?

float AlphaFramework.World.Components.Mesh.RotationX
getset

How the mesh loaded from the file shall be rotated around the X axis (east to west).

float AlphaFramework.World.Components.Mesh.RotationY
getset

How the mesh loaded from the file shall be rotated around the Y axis (top to bottom).

float AlphaFramework.World.Components.Mesh.RotationZ
getset

How the mesh loaded from the file shall be rotated around the Z axis (north to south).

float AlphaFramework.World.Components.Mesh.Scale
getset

A factor by which to scale the mesh loaded from the file.


The documentation for this class was generated from the following file: