Class Camera3DConfiguration
Inheritance
System.Object
Camera3DConfiguration
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()
Namespace: Immersive.Camera
Assembly: cs.temp.dll.dll
Syntax
public class Camera3DConfiguration : ImmersiveCameraConfiguration
Properties
IsOrthographic
Declaration
public override bool IsOrthographic { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
Methods
CalculateVerticalFOVCentre()
Declaration
protected float CalculateVerticalFOVCentre()
Returns
| Type | Description |
|---|---|
| System.Single |
CalculateVerticalFOVSide()
Declaration
protected float CalculateVerticalFOVSide()
Returns
| Type | Description |
|---|---|
| System.Single |
Init(SurfaceLocation, ImmersiveManagerSettings, RuntimeSettings)
Declaration
public override void Init(SurfaceLocation location, ImmersiveManagerSettings immersiveManagerSettings, RuntimeSettings runtimeSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| SurfaceLocation | location | |
| ImmersiveManagerSettings | immersiveManagerSettings | |
| RuntimeSettings | runtimeSettings |
Overrides
PositionCamera(UnityEngine.Camera)
Declaration
public override void PositionCamera(UnityEngine.Camera camera)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityEngine.Camera | camera |
Overrides
SetCameraObliqueness(UnityEngine.Camera, Single, Single, Single)
Sets the obliqueness of a camera by making it a physical camera. Note: This used to be done by changing the projection matrix however there were issues when this was combined with PostProcessing.
Declaration
protected void SetCameraObliqueness(UnityEngine.Camera cam, float xShift, float yShift, float surfaceAspectRatio)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityEngine.Camera | cam | |
| System.Single | xShift | |
| System.Single | yShift | |
| System.Single | surfaceAspectRatio |