XR_EXT_plane_detection extension must be enabled prior to using XrPlaneDetectorLocationEXTtype must be TYPE_PLANE_DETECTOR_LOCATION_EXTnext must be NULL or a valid pointer to the next structure in a structure chainlocationFlags must be 0 or a valid combination of XrSpaceLocationFlagBits valuesorientation is not 0, orientation must be a valid XrPlaneDetectorOrientationEXT valuesemanticType is not 0, semanticType must be a valid XrPlaneDetectorSemanticTypeEXT valueXrExtent2Df, XrPlaneDetectorLocationsEXT, XrPosef, GetPlaneDetectionsEXT
struct XrPlaneDetectorLocationEXT {
XrStructureType type;
void * next;
uint64_t planeId;
XrSpaceLocationFlags locationFlags;
XrPosef pose;
XrExtent2Df extents;
XrPlaneDetectorOrientationEXT orientation;
XrPlaneDetectorSemanticTypeEXT semanticType;
uint32_t polygonBufferCount;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrPlaneDetectorLocationEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | EXTENTS
The struct member offsets. |
| public static final int | LOCATIONFLAGS
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | ORIENTATION
The struct member offsets. |
| public static final int | PLANEID
The struct member offsets. |
| public static final int | POLYGONBUFFERCOUNT
The struct member offsets. |
| public static final int | POSE
The struct member offsets. |
| public static final int | SEMANTICTYPE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrPlaneDetectorLocationEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrPlaneDetectorLocationEXT | |
| public static XrPlaneDetectorLocationEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrPlaneDetectorLocationEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrPlaneDetectorLocationEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrPlaneDetectorLocationEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XrPlaneDetectorLocationEXT | |
| public static XrPlaneDetectorLocationEXT | create(long address)
Returns a new |
| public static XrPlaneDetectorLocationEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static XrPlaneDetectorLocationEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrPlaneDetectorLocationEXT | |
| public static XrPlaneDetectorLocationEXT. | |
| public XrExtent2Df | |
| public XrPlaneDetectorLocationEXT | |
| public XrPlaneDetectorLocationEXT | |
| public long | locationFlags()
a bitfield, with bit masks defined in |
| public XrPlaneDetectorLocationEXT | |
| public static XrPlaneDetectorLocationEXT | |
| public static XrPlaneDetectorLocationEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrPlaneDetectorLocationEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrPlaneDetectorLocationEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public XrPlaneDetectorLocationEXT | |
| public static XrExtent2Df | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static XrPosef | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public XrPlaneDetectorLocationEXT | |
| public long | |
| public XrPlaneDetectorLocationEXT | |
| public int | |
| public XrPlaneDetectorLocationEXT | |
| public XrPosef | pose()
an |
| public XrPlaneDetectorLocationEXT | |
| public XrPlaneDetectorLocationEXT | |
| public int | |
| public XrPlaneDetectorLocationEXT | |
| public XrPlaneDetectorLocationEXT | set(int type, long next, long planeId, long locationFlags, XrPosef pose, XrExtent2Df extents, int orientation, int semanticType, int polygonBufferCount)
Initializes this struct with the specified values. |
| public XrPlaneDetectorLocationEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrPlaneDetectorLocationEXT | |
| public XrPlaneDetectorLocationEXT |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| EXTENTS | back to summary |
|---|---|
| public static final int EXTENTS The struct member offsets. | |
| LOCATIONFLAGS | back to summary |
|---|---|
| public static final int LOCATIONFLAGS The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| ORIENTATION | back to summary |
|---|---|
| public static final int ORIENTATION The struct member offsets. | |
| PLANEID | back to summary |
|---|---|
| public static final int PLANEID The struct member offsets. | |
| POLYGONBUFFERCOUNT | back to summary |
|---|---|
| public static final int POLYGONBUFFERCOUNT The struct member offsets. | |
| POSE | back to summary |
|---|---|
| public static final int POSE The struct member offsets. | |
| SEMANTICTYPE | back to summary |
|---|---|
| public static final int SEMANTICTYPE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrPlaneDetectorLocationEXT | back to summary |
|---|---|
| protected XrPlaneDetectorLocationEXT(long address, ByteBuffer container) | |
| XrPlaneDetectorLocationEXT | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrPlaneDetectorLocationEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT. Like
| |
| extents | back to summary |
|---|---|
public XrExtent2Df extents()
| |
| extents | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT extents(XrExtent2Df value) Copies the specified | |
| extents | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT extents(Consumer<XrExtent2Df> consumer) Passes the | |
| locationFlags | back to summary |
|---|---|
| public long locationFlags() a bitfield, with bit masks defined in
| |
| locationFlags | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT locationFlags(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrPlaneDetectorLocationEXT. Returns a new
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT next(long value) Sets the specified value to the | |
| nextents | back to summary |
|---|---|
| public static XrExtent2Df nextents(long struct) Unsafe version of | |
| nextents | back to summary |
|---|---|
| public static void nextents(long struct, XrExtent2Df value) Unsafe version of | |
| nlocationFlags | back to summary |
|---|---|
| public static long nlocationFlags(long struct) Unsafe version of | |
| nlocationFlags | back to summary |
|---|---|
| public static void nlocationFlags(long struct, long value) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static long nnext(long struct) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static void nnext(long struct, long value) Unsafe version of | |
| norientation | back to summary |
|---|---|
| public static int norientation(long struct) Unsafe version of | |
| norientation | back to summary |
|---|---|
| public static void norientation(long struct, int value) Unsafe version of | |
| nplaneId | back to summary |
|---|---|
| public static long nplaneId(long struct) Unsafe version of | |
| nplaneId | back to summary |
|---|---|
| public static void nplaneId(long struct, long value) Unsafe version of | |
| npolygonBufferCount | back to summary |
|---|---|
| public static int npolygonBufferCount(long struct) Unsafe version of | |
| npolygonBufferCount | back to summary |
|---|---|
| public static void npolygonBufferCount(long struct, int value) Unsafe version of | |
| npose | back to summary |
|---|---|
| public static XrPosef npose(long struct) Unsafe version of | |
| npose | back to summary |
|---|---|
| public static void npose(long struct, XrPosef value) Unsafe version of | |
| nsemanticType | back to summary |
|---|---|
| public static int nsemanticType(long struct) Unsafe version of | |
| nsemanticType | back to summary |
|---|---|
| public static void nsemanticType(long struct, int value) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static void ntype(long struct, int value) Unsafe version of | |
| orientation | back to summary |
|---|---|
| public int orientation() the detected orientation of the plane.
| |
| orientation | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT orientation(int value) Sets the specified value to the | |
| planeId | back to summary |
|---|---|
| public long planeId() a
| |
| planeId | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT planeId(long value) Sets the specified value to the | |
| polygonBufferCount | back to summary |
|---|---|
| public int polygonBufferCount() the number of polygon buffers associated with this plane. If this is zero no polygon buffer was generated. The first polygon buffer is always the outside contour. If contours are requested with
| |
| polygonBufferCount | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT polygonBufferCount(int value) Sets the specified value to the | |
| pose | back to summary |
|---|---|
| public XrPosef pose() an | |
| pose | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT pose(XrPosef value) | |
| pose | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT pose(Consumer<XrPosef> consumer) | |
| semanticType | back to summary |
|---|---|
| public int semanticType()
| |
| semanticType | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT semanticType(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT set(int type, long next, long planeId, long locationFlags, XrPosef pose, XrExtent2Df extents, int orientation, int semanticType, int polygonBufferCount) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT set(XrPlaneDetectorLocationEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT type$Default() Sets the | |
XrPlaneDetectorLocationEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrPlaneDetectorLocationEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrPlaneDetectorLocationEXT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| extents | back to summary |
|---|---|
public XrExtent2Df extents()
| |
| extents | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Copies the specified | |
| extents | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected XrPlaneDetectorLocationEXT getElementFactory() Implements abstract org.
| |
| locationFlags | back to summary |
|---|---|
public long locationFlags()
| |
| locationFlags | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Sets the specified value to the | |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Sets the specified value to the | |
| orientation | back to summary |
|---|---|
public int orientation()
| |
| orientation | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Sets the specified value to the | |
| planeId | back to summary |
|---|---|
public long planeId()
| |
| planeId | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Sets the specified value to the | |
| polygonBufferCount | back to summary |
|---|---|
public int polygonBufferCount()
| |
| polygonBufferCount | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Sets the specified value to the | |
| pose | back to summary |
|---|---|
public XrPosef pose()
| |
| pose | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Copies the specified | |
| pose | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Passes the | |
| self | back to summary |
|---|---|
| protected XrPlaneDetectorLocationEXT. Implements abstract org.
| |
| semanticType | back to summary |
|---|---|
public int semanticType()
| |
| semanticType | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Sets the specified value to the | |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrPlaneDetectorLocationEXT. Sets the | |