Record Class XrHandJointVelocityEXT

java.lang.Object
java.lang.Record
club.doki7.openxr.datatype.XrHandJointVelocityEXT
All Implemented Interfaces:
IPointer, IXrHandJointVelocityEXT

@ValueBasedCandidate @UnsafeConstructor public record XrHandJointVelocityEXT(@NotNull MemorySegment segment) extends Record implements IXrHandJointVelocityEXT

Represents a pointer to a XrHandJointVelocityEXT structure in native memory.

Structure

typedef struct XrHandJointVelocityEXT {
    XrSpaceVelocityFlags velocityFlags;
    XrVector3f linearVelocity;
    XrVector3f angularVelocity;
} XrHandJointVelocityEXT;

Contracts

The property segment() should always be not-null (segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java null instead. See the documentation of IPointer.segment() for more details.

The constructor of this class is marked as UnsafeConstructor, because it does not perform any runtime check. The constructor can be useful for automatic code generators.

See Also:
  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$velocityFlags

      public static final MemoryLayout.PathElement PATH$velocityFlags
    • PATH$linearVelocity

      public static final MemoryLayout.PathElement PATH$linearVelocity
    • PATH$angularVelocity

      public static final MemoryLayout.PathElement PATH$angularVelocity
    • LAYOUT$velocityFlags

      public static final ValueLayout.OfLong LAYOUT$velocityFlags
    • LAYOUT$linearVelocity

      public static final StructLayout LAYOUT$linearVelocity
    • LAYOUT$angularVelocity

      public static final StructLayout LAYOUT$angularVelocity
    • SIZE$velocityFlags

      public static final long SIZE$velocityFlags
    • SIZE$linearVelocity

      public static final long SIZE$linearVelocity
    • SIZE$angularVelocity

      public static final long SIZE$angularVelocity
    • OFFSET$velocityFlags

      public static final long OFFSET$velocityFlags
    • OFFSET$linearVelocity

      public static final long OFFSET$linearVelocity
    • OFFSET$angularVelocity

      public static final long OFFSET$angularVelocity
  • Constructor Details

    • XrHandJointVelocityEXT

      public XrHandJointVelocityEXT(@NotNull @NotNull MemorySegment segment)
      Creates an instance of a XrHandJointVelocityEXT record class.
      Parameters:
      segment - the value for the segment record component
  • Method Details