UnhideTextureUVDomains
 
 
 

UnhideTextureUVDomains

Description

Shows the texture support objects for the given objects.

Scripting Syntax

UnhideTextureUVDomains( [InputObjs], [Type] );

Parameters

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

Default Value: Selected objects

Type Long Hide, Unhide or toggle the visibility

Default Value: 1

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
'Unhide the texture support
UnhideTextureUVDomains

See Also

HideTextureUVDomains ToggleVisibilityOfTextureUVDomains SIGetTextureUVDomains