Interface IWebXRPlane
interface IWebXRPlane {
id: number;
polygonDefinition: Vector3[];
semanticLabel?: string | null;
transformationMatrix: Matrix;
xrPlane: XRPlane;
}
id: number;
polygonDefinition: Vector3[];
semanticLabel?: string | null;
transformationMatrix: Matrix;
xrPlane: XRPlane;
}
Properties
id
id: number
a babylon-assigned ID for this polygon
polygon Definition
an array of vector3 points in babylon space. right/left hand system is taken into account.
Optionalsemantic Label
semanticLabel?: string | null
The semantic classification supplied by the XR runtime. This is undefined when the runtime does not expose semantic labels and null when the plane has no known classification.
transformation Matrix
A transformation matrix to apply on the mesh that will be built using the polygonDefinition Local vs. World are decided if worldParentNode was provided or not in the options when constructing the module
xr Plane
xrPlane: XRPlane
the native xr-plane object
A babylon interface for a WebXR plane. A Plane is actually a polygon, built from N points in space
Supported in chrome 79, not supported in canary 81 ATM