Libraries.Game.Graphics.Renderable Documentation

Inherits from: Libraries.Language.Object

Variables Table

VariablesDescription
Libraries.Containers.Array bones
Libraries.Compute.Matrix4 worldTransformTemporary BLendingATtribute.
Libraries.Game.Graphics.Shaders.Programs.ShaderProgram shaderProgram
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.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.Models.OpenGL.MeshPart meshPart
Libraries.Game.Graphics.Models.OpenGL.Attributes.Material material
Libraries.Game.Graphics.Models.OpenGL.Attributes.EnvironmentOpenGL environment

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: