Class SoCreaseAngleElement


public class SoCreaseAngleElement extends SoFloatElement
Stores the current crease angle. This element stores the current crease angle that is used to determine whether default normals should be computed to create a sharp edge or a smooth surface.
See Also:
  • Method Details

    • getClassStackIndex

      @Deprecated(since="9.3.0.0") public static int getClassStackIndex()
      Deprecated.
      As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)
      Returns the stack id for this element. ] *
    • getDefault

      public static float getDefault()
      Returns the default crease angle.
    • set

      public static void set(SoState state, float angle)
      Sets the current crease angle in the state.
    • get

      public static float get(SoState state)
      Returns current crease angle from the state.
    • set

      public static void set(SoState state, SoNode name_10171, float angle)
      Sets the current crease angle in the state.