HideTextureUVDomains

Categories

texture render

Description

Hides the texture support objects for the given objects.

Scripting Syntax

HideTextureUVDomains( [InputObjs], [Type] );

Parameters

Parameter Type Description
InputObjs String List of objects whose texture support objects are to be hidden.

Default Value: Selected objects

Type Long Hide, Unhide or toggle the visibility

Default Value: 0

Possible Values:

Description:

0 Hide Texture Support
1 Unhide Texture Support
-1 Toggle visibility of Texture Support

Examples

VBScript Example

'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

See Also

ToggleVisibilityOfTextureUVDomains UnhideTextureUVDomains SIGetTextureUVDomains