Property | Type | Description | |
---|---|---|---|
ctrlMA | animationControl | ||
ctrlSA | animationControl | ||
ctrlVA | animationControl | ||
lockCamera | bool | ||
models | RenderBase.OModelGroup |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
addTexture ( RenderBase texture ) : void |
Adds a single texture to the model and the cache.
|
|
addTextureRange ( List |
Adds a list of textures to the model and the cache.
|
|
initialize ( |
Initialize the renderer at a given target.
|
|
removeAllTextures ( ) : void |
Removes all textures from the model and the cache.
|
|
removeTexture ( int index ) : void |
Removes a texture at the given index.
|
|
render ( ) : void |
Renders a single frame of the scene.
|
|
resetCamera ( ) : void |
Set Camera back to zero position.
|
|
resize ( int width, int height ) : void |
Resizes the Back Buffer.
|
|
setRotation ( float y, float x ) : void |
Set X/Y angles to rotate the Mesh.
|
|
setTranslation ( float x, float y ) : void |
Set translation of the Mesh.
|
|
setZoom ( float z ) : void |
Set Zoom (distance of the Mesh to the Camera).
|
|
updateMeshes ( ) : void |
Updates the internal meshes buffer used for rendering. Call this if you change the current model or the meshes on the current model.
|
|
updateSettings ( ) : void |
Reloads all settings from the app settings file. Call this when you changes the settings.
|
|
updateTextures ( ) : void |
Forces all textures on the model to be cached.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
cacheTexture ( RenderBase texture ) : void |
Adds a texture to the texture cache.
|
|
drawText ( string text, int width, int height ) : void |
Draws a text inside a box on the Screen.
|
|
getBlend ( RenderBase function ) : Blend |
Gets a DirectX Blend from a RenderBase Blend.
|
|
getBlendOperation ( RenderBase equation ) : BlendOperation |
Gets a DirectX Blend operation from a RenderBase Blend operation.
|
|
getColor ( Color input ) : System.Vector4 |
Transforms a Color into a Vector4.
|
|
getCompare ( RenderBase function ) : Compare |
Gets a DirectX Compare from a RenderBase Compare.
|
|
getMaterialAnimationColor ( RenderBase data, Color &color ) : void |
Gets the current frame of a Material Animation color.
|
|
getMaterialAnimationFloat ( RenderBase data, float &value ) : void |
Gets the current frame of a Material Animation float value.
|
|
getMaterialAnimationInt ( RenderBase data, int &value ) : void |
Gets the current frame of a Material Animation integer value.
|
|
getMaterialAnimationVector2 ( RenderBase data, System.Vector2 &vector ) : void |
Gets the current frame of a Material Animation 2-D vector.
|
|
getMatrix ( RenderBase mtx ) : System.Matrix |
Gets a MDX Matrix from a RenderBase Matrix.
|
|
getQuaternion ( RenderBase vector ) : Quaternion |
Creates a Quaternion from a Rotation 3-D Vector.
|
|
getStencilOperation ( RenderBase operation ) : StencilOperation |
Gets a DirectX Stencil operation from a RenderBase Stencil operation.
|
|
refresh ( object sender, |
||
resetRenderState ( ) : void |
Resets the Render State to the default values.
|
|
rotateCenter2D ( float rotation ) : System.Matrix |
Rotates a 2-D UV Coordinate around the center.
|
|
transformAnimationSkeleton ( List |
Transforms a Skeleton from relative to absolute positions. Uses Quaternion for rotations.
|
|
transformSkeleton ( List |
Transforms a Skeleton from relative to absolute positions.
|
|
translate2D ( System.Vector2 translation ) : System.Matrix |
Builds a 2-D translation Matrix.
|
|
wrap ( float value ) : float |
Wrap a Rotation Angle between -PI and PI.
|
public addTexture ( RenderBase texture ) : void | ||
texture | RenderBase | The texture to be added |
return | void |
public addTextureRange ( List |
||
textures | List |
The list of textures to be added |
return | void |
public initialize ( |
||
handle | Memory pointer to the control rendering buffer | |
width | int | Render width |
height | int | Render height |
return | void |
public removeTexture ( int index ) : void | ||
index | int | The index of the texture |
return | void |
public resize ( int width, int height ) : void | ||
width | int | New width |
height | int | New height |
return | void |
public setRotation ( float y, float x ) : void | ||
y | float | |
x | float | |
return | void |
public setTranslation ( float x, float y ) : void | ||
x | float | |
y | float | |
return | void |