Material.UnresolvedFullname

導入

v4.0

詳細

このオブジェクトが参照しているマテリアルのフルネームをStringとして戻します。Material.IsResolvedが false を戻す場合にのみ、空以外が戻されます。

VBScript の例

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 :