SculptLayerBase
¶
New in version R15.037.
c4d.modules.sculpting.
SculptLayerBase
¶
- c4d.modules.sculpting.SculptLayerBase
SculptLayerBase.
Select
(
)
¶
Select the layer.
Note
This will only work if the subdivision level is at the same level as this layer.
Return type: | bool |
---|---|
Returns: | True if the layer was selected, otherwise False . |
SculptLayerBase.
IsVisible
(
)
¶
Check if the layer is currently visible on the sculpt object.
Return type: | bool |
---|---|
Returns: | True if visible, False if invisible. |
SculptLayerBase.
SetVisible
(
state
)
¶
Set the visibility of this layer on the sculpt object.
Parameters: | state ( bool ) – The visibility state. |
---|
SculptLayerBase.
IsLocked
(
)
¶
Check if the layer is currently locked on the sculpt object.
Return type: | bool |
---|---|
Returns: | True if locked, False if unlocked. |
SculptLayerBase.
SetLocked
(
state
)
¶
Set the locked status of the layer on the sculpt object.
Parameters: | state ( bool ) – The locked state. |
---|
SculptLayerBase.
GetStrength
(
)
¶
Get the currents strength of the layer.
Return type: | float |
---|---|
Returns: | The strength value. |
SculptLayerBase.
SetStrength
(
strength
)
¶
Set the strength of the layer on the sculpt object.
Parameters: | strength ( float ) – The strength value to set. |
---|