Libraries.Game.Graphics.Renderable Documentation

Inherits from: Libraries.Language.Object

Summary

Variable Summary Table

VariablesDescription
Libraries.Game.Graphics.Environment environment
Libraries.Containers.Array bones
Libraries.Game.Graphics.ModelData.MeshPart meshPart
Libraries.Compute.Matrix4 worldTransform
Libraries.Game.Graphics.Material material

Actions Summary Table

ActionsDescription
Compare(Libraries.Language.Object object)
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.

Actions Documentation

Compare(Libraries.Language.Object object)

Parameters

Return

Libraries.Language.Support.CompareResult

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

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: