Libraries.Game.Graphics.Renderable Documentation
Inherits from: Libraries.Language.Object
Summary
Variable Summary Table
Variables | Description |
---|---|
Libraries.Game.Graphics.Shaders.ShaderMapping shaderMapping | An optional field with an arbitrary object containing additional data for use by a shader. This is undefined by default. If it isn't undefined, it's up to the ShaderMapping to determine how this data should be used. The default shaders/mappings will typically ignore this value. |
Libraries.Game.Graphics.Shaders.ShaderProgram shaderProgram | |
Libraries.Compute.Matrix4 worldTransform | Temporary BLendingATtribut |
Libraries.Game.Graphics.Camera camera | |
Libraries.Containers.Array bones | |
Libraries.Language.Object shaderData | An optional field with an arbitrary object containing additional data for use by a shader. This is undefined by default. If it isn't undefined, it's up to the ShaderMapping to determine how this data should be used. The default shaders/mappings will typically ignore this value. |
Libraries.Game.Graphics.ModelData.MeshPart meshPart | |
Libraries.Game.Graphics.Environment environment | |
Libraries.Game.Graphics.Material material |
Actions Summary Table
Actions | Description |
---|---|
Compare(Libraries.Language.Object object) | Sets this renderable to have all of the same data as the provided renderable. |
Equals(Libraries.Language.Object object) | This action determines if two objects are equal based on their hash code values. |
GetHashCode() | This action gets the hash code for an object. |
Set(Libraries.Game.Graphics.Renderable renderable) | Sets this renderable to have all of the same data as the provided renderable. |
UsesBlending() | Sets this renderable to have all of the same data as the provided renderable. |
Actions Documentation
Compare(Libraries.Language.Object object)
Sets this renderable to have all of the same data as the provided renderable.
Parameters
Return
integer:
Equals(Libraries.Language.Object object)
This action determines if two objects are equal based on their hash code values.
Example Code
use Libraries.Language.Object
use Libraries.Language.Types.Text
Object o
Text t
boolean result = o:Equals(t)
Parameters
- Libraries.Language.Object: The to be compared.
Return
boolean: True if the hash codes are equal and false if they are not equal.
GetHashCode()
This action gets the hash code for an object.
Example Code
Object o
integer hash = o:GetHashCode()
Return
integer: The integer hash code of the object.
Set(Libraries.Game.Graphics.Renderable renderable)
Sets this renderable to have all of the same data as the provided renderable.
Parameters
Return
Libraries.Game.Graphics.Renderable:
UsesBlending()
Sets this renderable to have all of the same data as the provided renderable.
Return
boolean: