texture render
Toggles the visibility of texture support objects.
ToggleVisibilityOfTextureUVDomains( [InputObjs], [Type] ); |
Parameter | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
InputObjs | String | List of objects whose
texture support objects are to be shown or hidden.
Default Value: Selected objects |
||||||||
Type | Long | Hide, Unhide or toggle the visibility
Default Value: -1
|
'Create a simple primitive, apply a default shader and create a texture projection NewScene , false CreatePrim "Sphere", "MeshSurface", "MySphere" ApplyShader BlendInPresets "Fractal", , , True, True CreateProjection "MySphere", siTxtUV, siTxtDefaultSpherical, "Texture_Support", "Texture_Projection" SetInstanceDataValue , "MySphere.Material.Phong.ambient_blend.Fractal.tspace_id", "Texture_Projection" 'Find the first polygon mesh child object of the scene root set obj = activesceneroot.children.find(siPolyMeshType) 'Toggle the visibility of the texture support ToggleVisibilityOfTextureUVDomains obj |