Class SoSurroundScale

    • Field Detail

      • numNodesUpToContainer

        public final SoSFInt32 numNodesUpToContainer
        When traversed by an action, if surroundScale needs to calculate a new box, surroundScale looks at the current path in the action. It travels up this path a distance of numNodesUpToContainer and applies an SoGetBoundingBoxAction to the node that it finds there.
    • Constructor Detail

      • SoSurroundScale

        public SoSurroundScale()
        Creates a surround scale node with default settings.
    • Method Detail

      • invalidate

        public void invalidate()
        If you call this, then next time an action is applied the node will re-calculate its cached translation and scale values.