Class SceneCameraSlot
- Namespace
- Stride.Rendering.Compositing
- Assembly
- Stride.Engine.dll
A camera slot used by contained in a SceneCameraSlotCollection and referenceable by a SceneCameraSlotId
[DataContract("SceneCameraSlot")]
public sealed class SceneCameraSlot : IIdentifiable
- Inheritance
-
SceneCameraSlot
- Implements
Constructors
SceneCameraSlot()
Initializes a new instance of the SceneCameraSlot class.
public SceneCameraSlot()
Properties
Camera
public CameraComponent Camera { get; }
Property Value
Id
Gets the id of this instance
[DataMember(5)]
public Guid Id { get; set; }
Property Value
Name
Gets or sets the name.
[DataMember(10)]
public string Name { get; set; }
Property Value
- string
The name.
Methods
ToSlotId()
Generates a SceneCameraSlotId corresponding to this slot.
public SceneCameraSlotId ToSlotId()
Returns
- SceneCameraSlotId
A new instance of SceneCameraSlotId.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.