Libraries.Game.Graphics.ModelLoaders.WavefrontObject.Material Documentation

Inherits from: Libraries.Language.Object

Summary

Actions Summary Table

ActionsDescription
Compare(Libraries.Language.Object object)This action compares two object hash codes and returns a CompareResult.
Equals(Libraries.Language.Object object)This action determines if two objects are equal based on their hash code values.
GetAmbientColor()
GetAntiAlias()
GetDiffuseColor()
GetDissolve()
GetEmissiveColor()
GetHashCode()This action gets the hash code for an object.
GetIllumination()
GetName()
GetOpticalDensity()
GetShininess()
GetSpecularColor()
GetTextureAmbient()
GetTextureDiffuse()
GetTextureDissolve()
GetTextureSpecular()
GetTextureSpecularExponent()
GetTransmissionFilter()
GetTransparency()
HasAmbientColor()
HasAntiAlias()
HasDiffuseColor()
HasDissolve()
HasEmissiveColor()
HasIllumination()
HasOpticalDensity()
HasShininess()
HasSpecularColor()
HasTextureAmbient()
HasTextureDiffuse()
HasTextureDissolve()
HasTextureSpecular()
HasTextureSpecularExponent()
HasTransmissionFilter()
HasTransparency()
SetAntiAlias(boolean antiAlias)
SetDissolve(number dissolve)
SetHasAmbientColor(boolean hasAmbientColor)
SetHasDiffuseColor(boolean hasDiffuseColor)
SetHasEmissiveColor(boolean hasSpecularColor)
SetHasSpecularColor(boolean hasSpecularColor)
SetHasTransmissionFilter(boolean hasTransmissionFilter)
SetIllumination(integer illumination)
SetName(text name)
SetOpticalDensity(number opticalDensity)
SetShininess(number shininess)
SetTextureAmbient(text textureAmbient)
SetTextureDiffuse(text textureDiffuse)
SetTextureDissolve(text textureDissolve)
SetTextureSpecular(text textureSpecular)
SetTextureSpecularExponent(text textureSpecularExponent)
SetTransparency(number transparency)

Actions Documentation

Compare(Libraries.Language.Object object)

This action compares two object hash codes and returns a CompareResult. The compare result is either larger if this hash code is larger than the object passed as a parameter, smaller, or equal.

Example Code

use Libraries.Language.Support.CompareResult
        Object o
        Object t
        CompareResult result = o:Compare(t)

Parameters

Return

Libraries.Language.Support.CompareResult: The Compare result, Smaller, Equal, or Larger.

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.

GetAmbientColor()

Return

Libraries.Compute.Vector3

GetAntiAlias()

Return

boolean

GetDiffuseColor()

Return

Libraries.Compute.Vector3

GetDissolve()

Return

number

GetEmissiveColor()

Return

Libraries.Compute.Vector3

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.

GetIllumination()

Return

integer

GetName()

Return

text

GetOpticalDensity()

Return

number

GetShininess()

Return

number

GetSpecularColor()

Return

Libraries.Compute.Vector3

GetTextureAmbient()

Return

text

GetTextureDiffuse()

Return

text

GetTextureDissolve()

Return

text

GetTextureSpecular()

Return

text

GetTextureSpecularExponent()

Return

text

GetTransmissionFilter()

Return

Libraries.Compute.Vector3

GetTransparency()

Return

number

HasAmbientColor()

Return

boolean

HasAntiAlias()

Return

boolean

HasDiffuseColor()

Return

boolean

HasDissolve()

Return

boolean

HasEmissiveColor()

Return

boolean

HasIllumination()

Return

boolean

HasOpticalDensity()

Return

boolean

HasShininess()

Return

boolean

HasSpecularColor()

Return

boolean

HasTextureAmbient()

Return

boolean

HasTextureDiffuse()

Return

boolean

HasTextureDissolve()

Return

boolean

HasTextureSpecular()

Return

boolean

HasTextureSpecularExponent()

Return

boolean

HasTransmissionFilter()

Return

boolean

HasTransparency()

Return

boolean

SetAntiAlias(boolean antiAlias)

Parameters

SetDissolve(number dissolve)

Parameters

SetHasAmbientColor(boolean hasAmbientColor)

Parameters

SetHasDiffuseColor(boolean hasDiffuseColor)

Parameters

SetHasEmissiveColor(boolean hasSpecularColor)

Parameters

SetHasSpecularColor(boolean hasSpecularColor)

Parameters

SetHasTransmissionFilter(boolean hasTransmissionFilter)

Parameters

SetIllumination(integer illumination)

Parameters

SetName(text name)

Parameters

SetOpticalDensity(number opticalDensity)

Parameters

SetShininess(number shininess)

Parameters

SetTextureAmbient(text textureAmbient)

Parameters

SetTextureDiffuse(text textureDiffuse)

Parameters

SetTextureDissolve(text textureDissolve)

Parameters

SetTextureSpecular(text textureSpecular)

Parameters

SetTextureSpecularExponent(text textureSpecularExponent)

Parameters

SetTransparency(number transparency)

Parameters