SceneCameraSlot Class
Namespace: Stride.Rendering.CompositingAssembly: Stride.Engine.dll
A camera slot used by contained in a SceneCameraSlotCollection and referenceable by a SceneCameraSlotId
System.Object →
SceneCameraSlot
Derived from SceneCameraSlot:
[DataContract("SceneCameraSlot")]
public sealed class SceneCameraSlot : IIdentifiable
| Name | Description | |
|---|---|---|
| Constructors | ||
| SceneCameraSlot() | Initializes a new instance of the SceneCameraSlot class. |
|
| Properties | ||
| Camera | ||
| Id | ||
| Name | Gets or sets the name. |
|
| Methods | ||
| ToSlotId() | Generates a SceneCameraSlotId corresponding to this slot. |
|
| ToString() | ||
Constructors
SceneCameraSlot()
Initializes a new instance of the SceneCameraSlot class.
public SceneCameraSlot()
Properties
Camera
public CameraComponent Camera { get; }
Property Value
| Type | Description |
|---|---|
| CameraComponent |
Id
[DataMember(5)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
Name
Gets or sets the name.
[DataMember(10)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The name. |
Methods
ToSlotId()
Generates a SceneCameraSlotId corresponding to this slot.
public SceneCameraSlotId ToSlotId()
Returns
| Type | Description |
|---|---|
| SceneCameraSlotId | A new instance of SceneCameraSlotId. |
ToString()
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()