Class VirtualCameraActor
The actor used to hold the parameters of a camera.
Inherited Members
      Object.FindObjectsByType<T>(FindObjectsSortMode)
    
    
    
      Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    
    
    
    
      Object.FindFirstObjectByType<T>()
    
    
      Object.FindAnyObjectByType<T>()
    
    
      Object.FindFirstObjectByType<T>(FindObjectsInactive)
    
    
      Object.FindAnyObjectByType<T>(FindObjectsInactive)
    
    
    
    
    
    
    
    
    
    
    
  Namespace: Unity.LiveCapture.VirtualCamera
Assembly: Unity.LiveCapture.VirtualCamera.dll
Syntax
[DisallowMultipleComponent]
[ExcludeFromPreset]
[AddComponentMenu("Live Capture/Virtual Camera/Virtual Camera Actor")]
[ExecuteAlways]
[RequireComponent(typeof(Animator))]
public class VirtualCameraActor : MonoBehaviour
  Properties
Animator
The Animator component used by the device for playing takes on this actor.
Declaration
public Animator Animator { get; }
  Property Value
| Type | Description | 
|---|---|
| Animator | 
CameraBody
The CameraBody parameters of the actor.
Declaration
public CameraBody CameraBody { get; }
  Property Value
| Type | Description | 
|---|---|
| CameraBody | 
Remarks
The parameters will be used by a camera driver to configure the final camera component.
CropAspect
The aspect ratio of the crop mask.
Declaration
public float CropAspect { get; }
  Property Value
| Type | Description | 
|---|---|
| float | 
DepthOfFieldEnabled
Is depth of field enabled.
Declaration
public bool DepthOfFieldEnabled { get; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
Remarks
The camera driver will use this property to enable or disable depth of field for the camera.
Lens
The Lens parameters of the actor.
Declaration
public Lens Lens { get; }
  Property Value
| Type | Description | 
|---|---|
| Lens | 
Remarks
The parameters will be used by a camera driver to configure the final camera component.
LensIntrinsics
The LensIntrinsics parameters of the actor.
Declaration
public LensIntrinsics LensIntrinsics { get; }
  Property Value
| Type | Description | 
|---|---|
| LensIntrinsics | 
Remarks
The parameters will be used by a camera driver to configure the final camera component.