CustomSize
: Vector3 |
Signature
Vector3 CustomSize |
PreferredSurfaceOrientation
: SurfaceOrientation |
Signature
SurfaceOrientation PreferredSurfaceOrientation |
UseCustomSize
: bool |
Signature
bool UseCustomSize |
MaxRaycastDistance
: float
[Get][Set] |
Maximum length of raycast ray.
Signature
virtual float MaxRaycastDistance |
RaycastOrigin
: Transform
[Get][Set] |
Origin of raycast ray.
Signature
virtual Transform RaycastOrigin |
OnSpaceLocateCompleted
: UnityEvent< Pose, bool >
[Get][Set] |
This event will trigger when a suitable space is located within user's physical environment.
Signature
UnityEvent<Pose, bool> OnSpaceLocateCompleted |
RaycastHitResult
: EnvironmentRaycastHit
[Get] |
Resulted raycast hit information.
Signature
EnvironmentRaycastHit RaycastHitResult |
TryLocateSpace
(
surfacePose
)
|
Locate a space in physical environment.
Signature
virtual bool TryLocateSpace(out Pose surfacePose) Parameters surfacePose: out PoseÂ
Located surface pose data.
Returns boolÂ
True if a space is located successfully, otherwise, false.
|
| Member | Value |
|---|---|
None | 0 |
Any | 1 |
Vertical | 2 |
HorizontalFaceUp | 4 |
HorizontalFaceDown | 8 |