Class MixedRealityCameraSystem
The Camera system controls the settings of the main camera.
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.CameraSystem
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityCameraSystem : BaseCoreSystem, IMixedRealityCameraSystem, IMixedRealityEventSystem, IMixedRealityEventSource, IEqualityComparer, IMixedRealityService, IDisposable
Constructors
MixedRealityCameraSystem(IMixedRealityServiceRegistrar, BaseMixedRealityProfile)
Declaration
public MixedRealityCameraSystem(IMixedRealityServiceRegistrar registrar, BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityServiceRegistrar | registrar | |
BaseMixedRealityProfile | profile |
Properties
CameraProfile
Typed representation of the ConfigurationProfile property.
Declaration
public MixedRealityCameraProfile CameraProfile { get; }
Property Value
Type | Description |
---|---|
MixedRealityCameraProfile |
IsOpaque
Is the current camera displaying on an Opaque (AR) device or a VR / immersive device
Declaration
public bool IsOpaque { get; }
Property Value
Type | Description |
---|---|
Boolean |
SourceId
The Unique Source Id of this Event Source.
Declaration
public uint SourceId { get; }
Property Value
Type | Description |
---|---|
UInt32 |
SourceName
The Name of this Event Source.
Declaration
public string SourceName { get; }
Property Value
Type | Description |
---|---|
String |
Methods
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.
Declaration
public override void Initialize()
Overrides
Update()
Optional Update function to perform per-frame updates of the service.
Declaration
public override void Update()