Editar

Compartilhar via


IMixedRealityService Interface

Definition

Generic interface for all Mixed Reality Services

public interface class IMixedRealityService : IDisposable
public interface IMixedRealityService : IDisposable
type IMixedRealityService = interface
    interface IDisposable
Public Interface IMixedRealityService
Implements IDisposable
Derived
Implements

Properties

ConfigurationProfile

The configuration profile for the service.

Name

Optional Priority attribute if multiple services of the same type are required, enables targeting a service for action.

Priority

Optional Priority to reorder registered managers based on their respective priority, reduces the risk of race conditions by prioritizing the order in which managers are evaluated.

Methods

Destroy()

Optional Destroy function to perform cleanup of the service before the Mixed Reality Toolkit is destroyed.

Disable()

Optional Disable function to pause the service.

Enable()

Optional Enable function to enable / re-enable the service.

Initialize()

The initialize function is used to setup the service once created. This method is called once all services have been registered in the Mixed Reality Toolkit.

LateUpdate()

Optional LateUpdate function to that is called after Update has been called on all services.

Reset()

Optional Reset function to perform that will Reset the service, for example, whenever there is a profile change.

Update()

Optional Update function to perform per-frame updates of the service.

Applies to