Class ImmediateMeshContext
Defines a Drawing Context which draws 3D Meshes dynamically on the fly
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class ImmediateMeshContext extends DisposableBase
Constructors
ImmediateMeshContext(TSRRenderMode renderMode)
Declaration
public ImmediateMeshContext(TSRRenderMode renderMode)
Parameters
| Type | Name | Description |
|---|---|---|
| TSRRenderMode | renderMode |
ImmediateMeshContext(TSRRenderMode renderMode, TSRShaderEffect shaderEffect)
Declaration
public ImmediateMeshContext(TSRRenderMode renderMode, TSRShaderEffect shaderEffect)
Parameters
| Type | Name | Description |
|---|---|---|
| TSRRenderMode | renderMode | |
| com.scichart.charting3d.interop.TSRShaderEffect | shaderEffect |
Methods
dispose()
Declaration
public void dispose()
setVertex3(float x, float y, float z)
Sets the X,Y,Z position of the current vertex
Declaration
public final void setVertex3(float x, float y, float z)
Parameters
| Type | Name | Description |
|---|---|---|
| float | x | The x coord |
| float | y | The y coord |
| float | z | The z coord |
setVertexColor(int color)
Sets the Vertex Color of the current vertex
Declaration
public final void setVertexColor(int color)
Parameters
| Type | Name | Description |
|---|---|---|
| int | color | The color to set |
texCoord2(float u, float v)
Sets the Texture Coordinate for the current vertex
Declaration
public final void texCoord2(float u, float v)
Parameters
| Type | Name | Description |
|---|---|---|
| float | u | The u coord |
| float | v | the v coord |