Interface IMeshBase
Defines the interface to a Mesh, a re-usable 3D model which may be dynamically created, frozen, and repeatedly drawn
Implements
Namespace:
Assembly: .dll
Syntax
public interface IMeshBase extends drawContext.IImediateDrawContext
Methods
draw()
Draws this instance.
Declaration
public abstract void draw()
freeze()
Freezes this instance. No further drawing may be done
Declaration
public abstract void freeze()
setOpacity(float opacity)
Sets the opacity for the current vertex
Declaration
public abstract void setOpacity(float opacity)
Parameters
| Type | Name | Description |
|---|---|---|
| float | opacity | The opacity |
setVertex4(float x, float y, float z, float w)
Sets the X,Y,Z,W value of the current vertex
Declaration
public abstract void setVertex4(float x, float y, float z, float w)
Parameters
| Type | Name | Description |
|---|---|---|
| float | x | The x value |
| float | y | The y value |
| float | z | The z value |
| float | w | The z value |