Class PaintGroup

Represents a paint group.

Nodes within a paint group are painted separately. Paint groups are an optimization strategy that is intended to isolate nodes that change at a common rate.

Hierarchy

  • PaintGroup

Constructors

  • Creates a new paint group for the given node. In general, you should not need this approach; call node.paintGroups().crease()

    Parameters

    • node: DirectionNode<any>

      the node that will become a paint group

    • explicit: boolean

      whether the node is an explicit paint group, or merely a paint group because it is a root node.

    Returns PaintGroup

Properties

_explicit: boolean
_next: DirectionNode<any>
_node: DirectionNode<any>
_prev: DirectionNode<any>

Methods

Generated using TypeDoc