Method TryAddEnvironmentProbe
TryAddEnvironmentProbe(Pose, Vector3, Vector3, out XREnvironmentProbe)
Overridden by the provider implementation to manually add an environment probe to the AR session.
Declaration
public virtual bool TryAddEnvironmentProbe(Pose pose, Vector3 scale, Vector3 size, out XREnvironmentProbe environmentProbe)
Parameters
Type | Name | Description |
---|---|---|
Pose | pose | The position and rotation at which to create the new environment probe. |
Vector3 | scale | The scale of the new environment probe. |
Vector3 | size | The size (dimensions) of the new environment probe. |
XREnvironmentProbe | environmentProbe | If successful, should be populated with the newly created environment probe. |
Returns
Type | Description |
---|---|
bool |
|
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown in the default implementation of this method. |