Method | Description | |
---|---|---|
Dispose ( ) : void |
Call Dispose when the SurfaceObserver is no longer needed. This will ensure that the object is cleaned up appropriately but will not affect any Meshes, components, or objects returned by RequestMeshAsync.
|
|
RequestMeshAsync ( |
||
SetVolumeAsAxisAlignedBox ( Vector3 origin, Vector3 extents ) : void |
This method sets the observation volume as an axis aligned box at the requested location. Successive calls can be used to reshape the observation volume and/or to move it in the scene as needed. Extents are the distance from the center of the box to its edges along each axis.
|
|
SetVolumeAsFrustum ( |
This method sets the observation volume as a frustum at the requested location. Successive calls can be used to reshape the observation volume and/or to move it in the scene as needed.
|
|
SetVolumeAsOrientedBox ( Vector3 origin, Vector3 extents, |
This method sets the observation volume as an oriented box at the requested location. Successive calls can be used to reshape the observation volume and/or to move it in the scene as needed. Extents are the distance from the center of the box to its edges along each axis.
|
|
SetVolumeAsSphere ( Vector3 origin, float radiusMeters ) : void |
This method sets the observation volume as a sphere at the requested location. Successive calls can be used to reshape the observation volume and/or to move it in the scene as needed.
|
|
SurfaceObserver ( ) : System |
Basic constructor for SurfaceObserver.
|
|
Update ( SurfaceChangedDelegate onSurfaceChanged ) : void |
Method | Description | |
---|---|---|
Destroy ( |
||
DestroyThreaded ( |
||
INTERNAL_CALL_Internal_Create ( |
||
INTERNAL_CALL_Internal_SetVolumeAsAxisAlignedBox ( |
||
INTERNAL_CALL_Internal_SetVolumeAsOrientedBox ( |
||
INTERNAL_CALL_Internal_SetVolumeAsSphere ( |
||
Internal_AddToWorkQueue ( |
||
Internal_Create ( ) : |
||
Internal_SetVolumeAsAxisAlignedBox ( |
||
Internal_SetVolumeAsFrustum ( |
||
Internal_SetVolumeAsOrientedBox ( |
||
Internal_SetVolumeAsSphere ( |
||
Internal_Update ( |
||
InvokeSurfaceChangedEvent ( SurfaceChangedDelegate onSurfaceChanged, int surfaceId, SurfaceChange changeType, |
||
InvokeSurfaceDataReadyEvent ( SurfaceDataReadyDelegate onDataReady, int surfaceId, |
public RequestMeshAsync ( |
||
dataRequest | ||
onDataReady | SurfaceDataReadyDelegate | |
return | bool |
public SetVolumeAsAxisAlignedBox ( Vector3 origin, Vector3 extents ) : void | ||
origin | Vector3 | The origin of the requested observation volume. |
extents | Vector3 | The extents in meters of the requested observation volume. |
return | void |
public SetVolumeAsFrustum ( |
||
planes | Planes defining the frustum as returned from GeometryUtility.CalculateFrustumPlanes. | |
return | void |
public SetVolumeAsOrientedBox ( Vector3 origin, Vector3 extents, |
||
origin | Vector3 | The origin of the requested observation volume. |
extents | Vector3 | The extents in meters of the requested observation volume. |
orientation | The orientation of the requested observation volume. | |
return | void |
public SetVolumeAsSphere ( Vector3 origin, float radiusMeters ) : void | ||
origin | Vector3 | The origin of the requested observation volume. |
radiusMeters | float | The radius in meters of the requested observation volume. |
return | void |
public Update ( SurfaceChangedDelegate onSurfaceChanged ) : void | ||
onSurfaceChanged | SurfaceChangedDelegate | |
return | void |