v4.0
Returns whether the material points to the intended material or not. This may happen in cases of external material libraries that either we moved,
oReturn = Material.IsResolved(); |
boolean
NewScene , false
set oRoot = Application.ActiveProject.ActiveScene.Root
set oCube = oRoot.AddGeometry("Cube","MeshSurface")
set oMaterial = oCube.AddMaterial("Phong", siBranch)
set oCylinder = oRoot.AddGeometry("Cylinder","MeshSurface")
oCylinder.SetMaterial oMaterial
Application.LogMessage oMaterial.IsResolved
' This example should log something like:
'INFO : True
|