SIUnAssignMaterial

導入

v4.0

カテゴリ

property

詳細

オブジェクトのリストへのマテリアルの割り当てを解除します。

スクリプト構文

SIUnAssignMaterial( [Objects] );

パラメータ

パラメータ タイプ 詳細
Objects 文字列 マテリアルの割り当てを解除するオブジェクト

デフォルト値: 現在選択されている値

VBScript の例

' The following example uses UnassignMaterial to 
' unassign a material from the given object.
CreatePrim "Cone", "MeshSurface"
SICreateMaterial ,"TestMaterial","Sources.Materials.DefaultLib"
SIAssignMaterial "Cone", "Sources.Materials.DefaultLib.TestMaterial"
logmessage selection(0).material.fullname
SIUnAssignMaterial "Cone"
logmessage selection(0).material.fullname

関連項目

AddProp SIAddProp SIAssignMaterial