Skip to content
On this page

class MaterialEvaluationShaderSerializer

Properties

PropertyDescription
NameThe name of the MaterialEvaluationShaderSerializer object. (Inherited from Object)

Methods

MethodDescription
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
GetClassGet the name of the MaterialEvaluationShaderSerializer class. (Inherited from Object)
IsAReturns true if MaterialEvaluationShaderSerializer is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the MaterialEvaluationShaderSerializer object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the MaterialEvaluationShaderSerializer object is valid. (Inherited from Object)
LoadCasterSourceMaterialEvaluationShadersFromFileLoad all MaterialEvaluationShader defined in the file into the material table of the caster source. Any current material will be modified with the new MaterialEvaluationShader. All textures will be loaded in to the texture table, or replaced if they already exist.
LoadMaterialEvaluationShaderFromFileLoad the MaterialEvaluationShader xml from disk.
LoadSceneMaterialEvaluationShadersFromFileLoad all MaterialEvaluationShader defined in the file into the material table of the scene. Any current material will be modified with the new MaterialEvaluationShader. All textures will be loaded in to the texture table, or replaced if they already exist.
NonNullReturns true if the MaterialEvaluationShaderSerializer object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the MaterialEvaluationShaderSerializer object to the log. (Inherited from Object)
RemoveObserverRemoves a previously added observer object. (Inherited from Object)
SaveCasterSourceMaterialEvaluationShadersToFileSave all MaterialEvaluationShader in the caster source's material table to disk. Also add all needed references in the texture table.
SaveMaterialEvaluationShaderToFileSave the MaterialEvaluationShader XML to disk.
SaveSceneMaterialEvaluationShadersToFileSave all MaterialEvaluationShader in the scene's material table to disk. Also add all needed references in the texture table.

Static methods

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCastSafeCast makes sure the input object is of a class that can be cast into spMaterialEvaluationShaderSerializer, and if this is the case, returns the object cast into spMaterialEvaluationShaderSerializer. (Inherited from Object)

Properties details

Name

The name of the MaterialEvaluationShaderSerializer object. (Inherited from Object)

Methods details

AddObserver

Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)

GetClass

Get the name of the MaterialEvaluationShaderSerializer class. (Inherited from Object)

IsA

Returns true if MaterialEvaluationShaderSerializer is a or is a descendant of the class named as the type parameter. (Inherited from Object)

IsNull

Returns true if the MaterialEvaluationShaderSerializer object is invalid. (Inherited from Object)

IsSameObjectAs

Returns true if the MaterialEvaluationShaderSerializer object is valid. (Inherited from Object)

LoadCasterSourceMaterialEvaluationShadersFromFile

Load all MaterialEvaluationShader defined in the file into the material table of the caster source. Any current material will be modified with the new MaterialEvaluationShader. All textures will be loaded in to the texture table, or replaced if they already exist.

LoadMaterialEvaluationShaderFromFile

Load the MaterialEvaluationShader xml from disk.

LoadSceneMaterialEvaluationShadersFromFile

Load all MaterialEvaluationShader defined in the file into the material table of the scene. Any current material will be modified with the new MaterialEvaluationShader. All textures will be loaded in to the texture table, or replaced if they already exist.

NonNull

Returns true if the MaterialEvaluationShaderSerializer object is valid. (Inherited from Object)

PrintInfo

Prints the content/info of the MaterialEvaluationShaderSerializer object to the log. (Inherited from Object)

RemoveObserver

Removes a previously added observer object. (Inherited from Object)

SaveCasterSourceMaterialEvaluationShadersToFile

Save all MaterialEvaluationShader in the caster source's material table to disk. Also add all needed references in the texture table.

SaveMaterialEvaluationShaderToFile

Save the MaterialEvaluationShader XML to disk.

SaveSceneMaterialEvaluationShadersToFile

Save all MaterialEvaluationShader in the scene's material table to disk. Also add all needed references in the texture table.

Static methods details

IsClassA

Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)

SafeCast

SafeCast makes sure the input object is of a class that can be cast into spMaterialEvaluationShaderSerializer, and if this is the case, returns the object cast into spMaterialEvaluationShaderSerializer. (Inherited from Object)