UnhideTextureUVDomains

カテゴリ

テクスチャ レンダリング

詳細

指定のオブジェクトのテクスチャ サポート オブジェクトを表示します。

スクリプト構文

UnhideTextureUVDomains( [InputObjs], [Type] );

パラメータ

パラメータ タイプ 詳細
InputObjs 文字列 表示するテクスチャ サポート オブジェクトを持つオブジェクトのリスト

デフォルト値: 選択されたオブジェクト

タイプ Long 表示/非表示を切り替えます。

デフォルト値: 1

指定可能な値:

説明:

0 テクスチャ サポートを非表示にする
1 テクスチャ サポートを表示する
-1 テクスチャ サポートの表示を切り替える

VBScript の例

'Create a simple primitive, apply a default shader and create a texture projection
CreatePrim "Sphere", "MeshSurface"
ApplyShader
BlendInPresetsInsp "Fractal", , , True, True
CreateProjection "sphere", siTxtUV, siTxtDefaultSpherical, "Texture_Support", "Texture_Projection"
SetInstanceDataValue , "sphere.Material.Phong.ambient_blend.Fractal.tspace_id", "Texture_Projection"
'Hide the texture support
HideTextureUVDomains
'Unhide the texture support
UnhideTextureUVDomains

関連項目

HideTextureUVDomains ToggleVisibilityOfTextureUVDomains SIGetTextureUVDomains