Method Update
Update(XRSessionUpdateParams)
Perform any per-frame update logic here.
Declaration
public virtual void Update(XRSessionUpdateParams updateParams)
Parameters
Type | Name | Description |
---|---|---|
XRSessionUpdateParams | updateParams | Parameters about the current state that may be needed to inform the session. |
Update(XRSessionUpdateParams, Configuration)
Perform any per-frame update logic here. The session should use the configuration indicated by
configuration.descriptor.identifier.descriptor.identifier
, which should be one of the ones returned
by GetConfigurationDescriptors(Allocator).
Declaration
public virtual void Update(XRSessionUpdateParams updateParams, Configuration configuration)
Parameters
Type | Name | Description |
---|---|---|
XRSessionUpdateParams | updateParams | Parameters about the current state that might be needed to inform the session. |
Configuration | configuration | The configuration the session should use. |