Class SoAntiSquish

    • Field Detail

      • sizing

        public final SoSFEnum<SoAntiSquish.Sizings> sizing
        Determines which of the algorithms enumerated by the type Sizing will be used to select the new scale when the x,y, and z scales are not equal. . Default is AVERAGE_DIMENSION.
      • recalcAlways

        public final SoSFBool recalcAlways
        If recalcAlways is true, this node calculates its unsquishing matrix every time it is traversed. If false, then this only occurs during the first traversal folllowing a call to recalc(). Default is true.
    • Constructor Detail

      • SoAntiSquish

        public SoAntiSquish()
        Creates an anti-squish node with default settings.
    • Method Detail

      • recalc

        public void recalc()
        Sets a flag so that the next time the node is traversed, it will recalculate its unsquishing matrix.