Libraries.Game.Graphics.Renderable Documentation

Inherits from: Libraries.Language.Object

Variables Table

VariablesDescription
Libraries.Game.Graphics.Material material
Libraries.Game.Graphics.Camera camera
Libraries.Language.Object shaderDataAn 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.Compute.Matrix4 worldTransformTemporary BLendingATtribute.
Libraries.Game.Graphics.ModelData.MeshPart meshPart
Libraries.Game.Graphics.Shaders.ShaderMapping shaderMappingAn 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.Environment environment
Libraries.Game.Graphics.Shaders.ShaderProgram shaderProgram
Libraries.Containers.Array bones

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.

Parameters

Return

boolean: True if the hash codes are equal and false if they are not equal.

Example

use Libraries.Language.Object
use Libraries.Language.Types.Text
Object o
Text t
boolean result = o:Equals(t)

GetHashCode()

This action gets the hash code for an object.

Return

integer: The integer hash code of the object.

Example

Object o
integer hash = o:GetHashCode()

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: