Class HmdVector3d

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class HmdVector3d extends Struct<HmdVector3d> implements NativeResource

Layout


 struct HmdVector3d_t {
     double v[3];
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • V

      public static final int V
      The struct member offsets.
  • Constructor Details

    • HmdVector3d

      public HmdVector3d(ByteBuffer container)
      Creates a HmdVector3d instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details