The CameraComponent handles interactions with cameras.
public class CameraComponent : Sansar.Script.InstanceInterfaceMembers at a glance
| Kind | Members |
|---|---|
| Fields | ComponentType |
| Properties | ComponentId · Name |
| Methods | ToString |
Fields
ComponentType
Added in 37.0.0
public static readonly ComponentType ComponentTypeThe CameraComponent.ComponentType of this component
Properties
ComponentId
Added in 37.0.0
public Sansar.Script.ComponentId ComponentId { get; }Retrieves the component id for this CameraComponent.
Value: Sansar.Script.ComponentId — The id.
Name
Added in 37.0.0
public string Name { get; }This CameraComponent name, as specified in the editor.
Methods
ToString
Added in 37.0.0
public override string ToString()A string representation of this object.
Returns: string — A string representation of this object.
Remarks
The format of this string may change between releases.
Used in examples
CameraShakeExample.cs- InteractionScreenshot.cs
- ScriptLibrary/Scene/Screenshot.cs
Generated from the Sansar 47.10.0 client ScriptApi snapshot.