Enum HemfMisc.HemfModifyWorldTransformMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      MWT_IDENTITY
      Reset the current transform using the identity matrix.
      MWT_LEFTMULTIPLY
      Multiply the current transform.
      MWT_RIGHTMULTIPLY
      Multiply the current transform.
      MWT_SET
      Perform the function of an EMR_SETWORLDTRANSFORM record
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int id  
    • Enum Constant Detail

      • MWT_IDENTITY

        public static final HemfMisc.HemfModifyWorldTransformMode MWT_IDENTITY
        Reset the current transform using the identity matrix. In this mode, the specified transform data is ignored.
      • MWT_LEFTMULTIPLY

        public static final HemfMisc.HemfModifyWorldTransformMode MWT_LEFTMULTIPLY
        Multiply the current transform. In this mode, the specified transform data is the left multiplicand, and the transform that is currently defined in the playback device context is the right multiplicand.
      • MWT_RIGHTMULTIPLY

        public static final HemfMisc.HemfModifyWorldTransformMode MWT_RIGHTMULTIPLY
        Multiply the current transform. In this mode, the specified transform data is the right multiplicand, and the transform that is currently defined in the playback device context is the left multiplicand.
    • Field Detail

      • id

        public final int id
    • Method Detail

      • values

        public static HemfMisc.HemfModifyWorldTransformMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (HemfMisc.HemfModifyWorldTransformMode c : HemfMisc.HemfModifyWorldTransformMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HemfMisc.HemfModifyWorldTransformMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueOf

        public static HemfMisc.HemfModifyWorldTransformMode valueOf​(int id)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        id - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null