Class RoomCameraConfiguration
Inheritance
System.Object
RoomCameraConfiguration
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
public class RoomCameraConfiguration
Constructors
RoomCameraConfiguration(ImmersiveManagerSettings, RuntimeSettings, ExperienceSettings)
Constructor for RoomCameraConfiguration which generates the appropriate
ImmersiveCameraConfigurations based upon the provided SceneSettings and
ExperienceSettings
Declaration
public RoomCameraConfiguration(ImmersiveManagerSettings immersiveSettings, RuntimeSettings runtimeSettings, ExperienceSettings experienceSettings)
Parameters
| Type |
Name |
Description |
| ImmersiveManagerSettings |
immersiveSettings |
Settings which apply to the current scene.
|
| RuntimeSettings |
runtimeSettings |
Settings which apply to the entire experience as set on the command line.
|
| ExperienceSettings |
experienceSettings |
Settings which apply to the experience as a whole.
|
Properties
CameraCount
Declaration
public int CameraCount { get; protected set; }
Property Value
| Type |
Description |
| System.Int32 |
|
CameraGroupInitialPosition
Declaration
public Vector3 CameraGroupInitialPosition { get; }
Property Value
CameraGroupInitialRotation
Declaration
public Vector3 CameraGroupInitialRotation { get; }
Property Value
CentreCameraConfiguration
Declaration
public ImmersiveCameraConfiguration CentreCameraConfiguration { get; }
Property Value
DisplayMode
Declaration
public DisplayType DisplayMode { get; protected set; }
Property Value
HasContentAreaGuideConfiguration
Whether the RoomCameraConfiguration contains a ContentAreaGuideConfiguration.
Declaration
public bool HasContentAreaGuideConfiguration { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
OrthographicHeight
Declaration
public float OrthographicHeight { get; }
Property Value
| Type |
Description |
| System.Single |
|
RoomLayout
Declaration
public SurfaceLocation RoomLayout { get; protected set; }
Property Value
RotationConfiguration
Declaration
public CameraRotationConfiguration RotationConfiguration { get; }
Property Value
WindowRect
A Rect which encompasses all the surfaces and represents where on the screen the application should be displayed.
Declaration
public Rect WindowRect { get; }
Property Value
Methods
AddImmersiveCameraConfiguration(ImmersiveCameraConfiguration)
Declaration
public void AddImmersiveCameraConfiguration(ImmersiveCameraConfiguration immersiveCameraConfiguration)
Parameters
GetContentAreaGuideConfiguration()
Get the rooms configurations ContentAreaGuideConfiguration if it exists.
Declaration
public ContentAreaGuideConfiguration GetContentAreaGuideConfiguration()
Returns
GetImmersiveCameraConfiguration(SurfaceLocation)
Declaration
public ImmersiveCameraConfiguration GetImmersiveCameraConfiguration(SurfaceLocation location)
Parameters
Returns
GetImmersiveCameraConfiguration(Int32)
Declaration
public ImmersiveCameraConfiguration GetImmersiveCameraConfiguration(int cameraIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
cameraIndex |
|
Returns