Material.Library

Material.Library

導入

v4.0

詳細

このマテリアルが属するマテリアル Library を戻します。

C#構文

// get accessor

Library rtn = Material.Library;

VBScript の例

NewScene , false

set oRoot = ActiveSceneRoot

set oCube = oRoot.AddGeometry("Cube","MeshSurface")

set oMaterial = oCube.AddMaterial("Phong", siBranch)

set oLibrary = oMaterial.Library

Application.LogMessage oLibrary.FullName

' This example should log something like:

' INFO : Sources.Materials.DefaultLib