Layer Settings

A layer is like a sketchbook that holds objects. To create and render objects, a layer is necessary. If an object is created and not inserted into a layer, it will not be rendered. Additionally, visibility settings can be adjusted to render only the necessary layers.

Layer Type List

Step 1. Create a Layer

A layer is needed to create and render objects, so the first step is to create one.

For descriptions of layer types, please refer here.

Step 2 - 1. Set Layer Visibility

Set the visibility of the layer created in step 1.

  • true: Render all objects in the layer

  • false: Do not render any objects in the layer

Step 2 - 2. Set Layer Visibility Distance

Set the visibility distance for the layer created in step 1.

  • getMaxDistance: Returns the maximum visibility distance

  • setMaxDistance: Sets the maximum visibility distance

  • getMinDistance: Returns the minimum visibility distance

  • setMinDistance: Sets the minimum visibility distance

Step 2 - 3. Set Layer Selectability

Set whether the layer created in step 1 can be selected.

  • setSelectable: Sets the layer's selectability

  • getSelectable: Returns the layer's selectability

Step 2 - 4. Add Objects to the Layer

Add objects to the layer created in step 1.

Step 3 - 1. Set Color Expression Priority

The color priority of the objects added in step 2-4 is as follows:

  • 1st Priority: Object selection color

  • 2nd Priority: Object original face color

  • 3rd Priority: Object color set externally

  • 4th Priority: Layer color

  • 5th Priority: Object original color

Last updated