Class: Strip

Strip

Strip object.

new Strip(options)

Name Type Description
options * optional Strip options:
Name Type Description
visibility boolean optional Strip visibility.
Example

Stripe example

new og.Entity({
    strip: {
        gridSize: 10,
        path: [
            [[],[]],
            [[],[]]
        ]
    }
});

Members

readonlyidnumber

Object unic identifier.

visibilityboolean

Cloud visibility.

Methods

Clears object

getVisibility(){boolean}

Returns:
Type Description
boolean Strip visibily.
Removes from entity.

setOpacity(opacity)

Set strip opacity.
Name Type Description
opacity number opacity.

protectedsetPickingColor3v(color)

Assign picking color.
Name Type Description
color og.Vec3 Picking RGB color.

setRenderNode(renderNode)

Assign rendering scene node.
Name Type Description
renderNode og.scene.RenderNode Assigned render node.

setVisibility(visibility)

Sets cloud visibility.
Name Type Description
visibility number Visibility flag.