Class VirtualCameraActor
The actor used to hold the parameters of a camera.
Namespace: Unity.LiveCapture.VirtualCamera
Syntax
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; set; }
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; set; }
Property Value
| Type | Description |
|---|---|
| Single |
DepthOfFieldEnabled
Is depth of field enabled.
Declaration
public bool DepthOfFieldEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
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; set; }
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; set; }
Property Value
| Type | Description |
|---|---|
| LensIntrinsics |
Remarks
The parameters will be used by a camera driver to configure the final camera component.