Class Camera
A Behaviour<T> that represents
Inheritance
Inherited Members
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public class Camera : Behaviour<UnityEngine.Camera>, INotifyPropertyChanged, IDynamicResourceHandler
Fields
| Improve this Doc View SourceAllowDynamicResolutionProperty
Backing store for the AllowDynamicResolution property.
Declaration
public static readonly BindableProperty AllowDynamicResolutionProperty
Field Value
Type | Description |
---|---|
BindableProperty |
AllowHDRProperty
Backing store for the AllowHDR property.
Declaration
public static readonly BindableProperty AllowHDRProperty
Field Value
Type | Description |
---|---|
BindableProperty |
AllowMSAAProperty
Backing store for the AllowMSAA property.
Declaration
public static readonly BindableProperty AllowMSAAProperty
Field Value
Type | Description |
---|---|
BindableProperty |
BackgroundColorProperty
Backing store for the BackgroundColor property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Type | Description |
---|---|
BindableProperty |
CameraTypeProperty
Backing store for the CameraType property.
Declaration
public static readonly BindableProperty CameraTypeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ClearFlagsProperty
Backing store for the ClearFlags property.
Declaration
public static readonly BindableProperty ClearFlagsProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ClearStencilAfterLightingPassProperty
Backing store for the ClearStencilAfterLightingPass property.
Declaration
public static readonly BindableProperty ClearStencilAfterLightingPassProperty
Field Value
Type | Description |
---|---|
BindableProperty |
CullingMaskProperty
Backing store for the CullingMask property.
Declaration
public static readonly BindableProperty CullingMaskProperty
Field Value
Type | Description |
---|---|
BindableProperty |
DepthProperty
Backing store for the Depth property.
Declaration
public static readonly BindableProperty DepthProperty
Field Value
Type | Description |
---|---|
BindableProperty |
DepthTextureModeProperty
Backing store for the DepthTextureMode property.
Declaration
public static readonly BindableProperty DepthTextureModeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
EventMaskProperty
Backing store for the EventMask property.
Declaration
public static readonly BindableProperty EventMaskProperty
Field Value
Type | Description |
---|---|
BindableProperty |
FarClipPlaneProperty
Backing store for the FarClipPlane property.
Declaration
public static readonly BindableProperty FarClipPlaneProperty
Field Value
Type | Description |
---|---|
BindableProperty |
FieldOfViewProperty
Backing store for the FieldOfView property.
Declaration
public static readonly BindableProperty FieldOfViewProperty
Field Value
Type | Description |
---|---|
BindableProperty |
FocalLengthProperty
Backing store for the FocalLength property.
Declaration
public static readonly BindableProperty FocalLengthProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ForceIntoRenderTextureProperty
Backing store for the ForceIntoRenderTexture property.
Declaration
public static readonly BindableProperty ForceIntoRenderTextureProperty
Field Value
Type | Description |
---|---|
BindableProperty |
GateFitProperty
Backing store for the GateFit property.
Declaration
public static readonly BindableProperty GateFitProperty
Field Value
Type | Description |
---|---|
BindableProperty |
LayerCullDistancesProperty
Backing store for the LayerCullDistances property.
Declaration
public static readonly BindableProperty LayerCullDistancesProperty
Field Value
Type | Description |
---|---|
BindableProperty |
LayerCullSphericalProperty
Backing store for the LayerCullSpherical property.
Declaration
public static readonly BindableProperty LayerCullSphericalProperty
Field Value
Type | Description |
---|---|
BindableProperty |
LensShiftProperty
Backing store for the LensShift property.
Declaration
public static readonly BindableProperty LensShiftProperty
Field Value
Type | Description |
---|---|
BindableProperty |
NearClipPlaneProperty
Backing store for the NearClipPlane property.
Declaration
public static readonly BindableProperty NearClipPlaneProperty
Field Value
Type | Description |
---|---|
BindableProperty |
OpaqueSortModeProperty
Backing store for the OpaqueSortMode property.
Declaration
public static readonly BindableProperty OpaqueSortModeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
OrthographicProperty
Backing store for the Orthographic property.
Declaration
public static readonly BindableProperty OrthographicProperty
Field Value
Type | Description |
---|---|
BindableProperty |
OrthographicSizeProperty
Backing store for the OrthographicSize property.
Declaration
public static readonly BindableProperty OrthographicSizeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
RectProperty
Backing store for the Rect property.
Declaration
public static readonly BindableProperty RectProperty
Field Value
Type | Description |
---|---|
BindableProperty |
RenderingPathProperty
Backing store for the RenderingPath property.
Declaration
public static readonly BindableProperty RenderingPathProperty
Field Value
Type | Description |
---|---|
BindableProperty |
SceneProperty
Backing store for the Scene property.
Declaration
public static readonly BindableProperty SceneProperty
Field Value
Type | Description |
---|---|
BindableProperty |
SensorSizeProperty
Backing store for the SensorSize property.
Declaration
public static readonly BindableProperty SensorSizeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
StereoConvergenceProperty
Backing store for the StereoConvergence property.
Declaration
public static readonly BindableProperty StereoConvergenceProperty
Field Value
Type | Description |
---|---|
BindableProperty |
StereoSeparationProperty
Backing store for the StereoSeparation property.
Declaration
public static readonly BindableProperty StereoSeparationProperty
Field Value
Type | Description |
---|---|
BindableProperty |
StereoTargetEyeProperty
Backing store for the StereoTargetEye property.
Declaration
public static readonly BindableProperty StereoTargetEyeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TargetDisplayProperty
Backing store for the TargetDisplay property.
Declaration
public static readonly BindableProperty TargetDisplayProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TargetTextureProperty
Backing store for the TargetTexture property.
Declaration
public static readonly BindableProperty TargetTextureProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TransparencySortAxisProperty
Backing store for the TransparencySortAxis property.
Declaration
public static readonly BindableProperty TransparencySortAxisProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TransparencySortModeProperty
Backing store for the TransparencySortMode property.
Declaration
public static readonly BindableProperty TransparencySortModeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
UseJitteredProjectionMatrixForTransparentRenderingProperty
Backing store for the UseJitteredProjectionMatrixForTransparentRendering property.
Declaration
public static readonly BindableProperty UseJitteredProjectionMatrixForTransparentRenderingProperty
Field Value
Type | Description |
---|---|
BindableProperty |
UseOcclusionCullingProperty
Backing store for the UseOcclusionCulling property.
Declaration
public static readonly BindableProperty UseOcclusionCullingProperty
Field Value
Type | Description |
---|---|
BindableProperty |
UsePhysicalPropertiesProperty
Backing store for the UsePhysicalProperties property.
Declaration
public static readonly BindableProperty UsePhysicalPropertiesProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceAllowDynamicResolution
A property that represents UnityEngine.Camera.allowDynamicResolution.
Declaration
public bool AllowDynamicResolution { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
AllowHDR
A property that represents UnityEngine.Camera.allowHDR.
Declaration
public bool AllowHDR { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
AllowMSAA
A property that represents UnityEngine.Camera.allowMSAA.
Declaration
public bool AllowMSAA { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
BackgroundColor
A property that represents UnityEngine.Camera.backgroundColor.
Declaration
public UnityEngine.Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Color |
See Also
| Improve this Doc View SourceCameraType
A property that represents UnityEngine.Camera.cameraType.
Declaration
public UnityEngine.CameraType CameraType { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.CameraType |
ClearFlags
A property that represents UnityEngine.Camera.clearFlags.
Declaration
public UnityEngine.CameraClearFlags ClearFlags { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.CameraClearFlags |
ClearStencilAfterLightingPass
A property that represents UnityEngine.Camera.clearStencilAfterLightingPass.
Declaration
public bool ClearStencilAfterLightingPass { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
CullingMask
A property that represents UnityEngine.Camera.cullingMask.
Declaration
public int CullingMask { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Depth
A property that represents UnityEngine.Camera.depth.
Declaration
public float Depth { get; set; }
Property Value
Type | Description |
---|---|
Single |
DepthTextureMode
A property that represents UnityEngine.Camera.depthTextureMode.
Declaration
public UnityEngine.DepthTextureMode DepthTextureMode { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.DepthTextureMode |
EventMask
A property that represents UnityEngine.Camera.eventMask.
Declaration
public int EventMask { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
FarClipPlane
A property that represents UnityEngine.Camera.farClipPlane.
Declaration
public float FarClipPlane { get; set; }
Property Value
Type | Description |
---|---|
Single |
FieldOfView
A property that represents UnityEngine.Camera.fieldOfView.
Declaration
public float FieldOfView { get; set; }
Property Value
Type | Description |
---|---|
Single |
FocalLength
A property that represents UnityEngine.Camera.focalLength.
Declaration
public float FocalLength { get; set; }
Property Value
Type | Description |
---|---|
Single |
ForceIntoRenderTexture
A property that represents UnityEngine.Camera.forceIntoRenderTexture.
Declaration
public bool ForceIntoRenderTexture { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
GateFit
A property that represents UnityEngine.Camera.gateFit.
Declaration
public UnityEngine.Camera.GateFitMode GateFit { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Camera.GateFitMode |
LayerCullDistances
A property that represents UnityEngine.Camera.layerCullDistances.
Declaration
public float[] LayerCullDistances { get; set; }
Property Value
Type | Description |
---|---|
Single[] |
LayerCullSpherical
A property that represents UnityEngine.Camera.layerCullSpherical.
Declaration
public bool LayerCullSpherical { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
LensShift
A property that represents UnityEngine.Camera.lensShift.
Declaration
public UnityEngine.Vector2 LensShift { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector2 |
See Also
| Improve this Doc View SourceNearClipPlane
A property that represents UnityEngine.Camera.nearClipPlane.
Declaration
public float NearClipPlane { get; set; }
Property Value
Type | Description |
---|---|
Single |
OpaqueSortMode
A property that represents UnityEngine.Camera.opaqueSortMode.
Declaration
public UnityEngine.Rendering.OpaqueSortMode OpaqueSortMode { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Rendering.OpaqueSortMode |
Orthographic
A property that represents UnityEngine.Camera.orthographic.
Declaration
public bool Orthographic { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
OrthographicSize
A property that represents UnityEngine.Camera.orthographicSize.
Declaration
public float OrthographicSize { get; set; }
Property Value
Type | Description |
---|---|
Single |
Rect
A property that represents UnityEngine.Camera.rect.
Declaration
public UnityEngine.Rect Rect { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Rect |
RenderingPath
A property that represents UnityEngine.Camera.renderingPath.
Declaration
public UnityEngine.RenderingPath RenderingPath { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.RenderingPath |
Scene
A property that represents UnityEngine.Camera.scene.
Declaration
public UnityEngine.SceneManagement.Scene Scene { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.SceneManagement.Scene |
SensorSize
A property that represents UnityEngine.Camera.sensorSize.
Declaration
public UnityEngine.Vector2 SensorSize { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector2 |
See Also
| Improve this Doc View SourceStereoConvergence
A property that represents UnityEngine.Camera.stereoConvergence.
Declaration
public float StereoConvergence { get; set; }
Property Value
Type | Description |
---|---|
Single |
StereoSeparation
A property that represents UnityEngine.Camera.stereoSeparation.
Declaration
public float StereoSeparation { get; set; }
Property Value
Type | Description |
---|---|
Single |
StereoTargetEye
A property that represents UnityEngine.Camera.stereoTargetEye.
Declaration
public UnityEngine.StereoTargetEyeMask StereoTargetEye { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.StereoTargetEyeMask |
TargetDisplay
A property that represents UnityEngine.Camera.targetDisplay.
Declaration
public int TargetDisplay { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
TargetTexture
A property that represents UnityEngine.Camera.targetTexture.
Declaration
public UnityEngine.RenderTexture TargetTexture { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.RenderTexture |
TransparencySortAxis
A property that represents UnityEngine.Camera.transparencySortAxis.
Declaration
public UnityEngine.Vector3 TransparencySortAxis { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
See Also
| Improve this Doc View SourceTransparencySortMode
A property that represents UnityEngine.Camera.transparencySortMode.
Declaration
public UnityEngine.TransparencySortMode TransparencySortMode { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.TransparencySortMode |
UseJitteredProjectionMatrixForTransparentRendering
A property that represents UnityEngine.Camera.useJitteredProjectionMatrixForTransparentRendering.
Declaration
public bool UseJitteredProjectionMatrixForTransparentRendering { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
UseOcclusionCulling
A property that represents UnityEngine.Camera.useOcclusionCulling.
Declaration
public bool UseOcclusionCulling { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
UsePhysicalProperties
A property that represents UnityEngine.Camera.usePhysicalProperties.
Declaration
public bool UsePhysicalProperties { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceAwakeInMainThread()
A methot that actually wakes the node up in the main thread.
Declaration
protected override void AwakeInMainThread()
Overrides
Remarks
This sets UnityEngine.Behaviour.enabled which may prevents from setting other
properties if the value is false
. Therefore, this should be called after setting those
properties in an overriding method.