Table of Contents

Class Mesh

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

Represents a mesh loaded from a file.

public abstract class Mesh : Render, ICloneable
Inheritance
Mesh
Implements
Derived
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

Filename

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

public string? Filename { get; set; }

Property Value

string

Pickable

Can this mesh be picked with the mouse?

public bool Pickable { get; set; }

Property Value

bool

RenderIn

In what kind of Views shall this mesh be rendered?

public ViewType RenderIn { get; set; }

Property Value

ViewType

RotationX

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

public float RotationX { get; set; }

Property Value

float

RotationY

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

public float RotationY { get; set; }

Property Value

float

RotationZ

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

public float RotationZ { get; set; }

Property Value

float

Scale

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

public float Scale { get; set; }

Property Value

float

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