v4.0
このオブジェクトが参照しているマテリアルのフルネームをStringとして戻します。Material.IsResolvedが false を戻す場合にのみ、空以外が戻されます。
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.UnresolvedFullname
' This example should log something like:
' INFO :
|