ScriptSpot

Forum topic · General Scripting

LayerProperties

By Any · 2015-12-18

Description

How understand string
---------------------------------------------------------------
.visibility : float : Read|Write

Get/Set whether the objects on the layer will be visible.
--------------------------------------------------------------------

What meen FLOAT in this prorerty?

I want to hide all objects in layer....

Comments (1)

.

miauu · 2015-12-18

Float means from 0.0 to 1.0. 0.5 means that the object is 50% transparent. For example, create a teapot, select it and then execute:


$.visibility = 0.5