Pular para o conteúdo
AstraDOCS

Astra.Components.CameraLook

Astra atual · C# · 06 out. 2026Referência de assinaturas

Olhar: Rotação local da câmera por entrada ou script. Família Câmera · Controle.

Namespace: Astra.Components · Assembly: Astra.Scripting · Tipo: Struct

readonly struct Astra.Components.CameraLook

Olhar: Rotação local da câmera por entrada ou script. Família Câmera · Controle.

Referência estudada: https://docs.unity3d.com/Packages/com.unity.cinemachine@3.1/manual/CinemachinePanTilt.html

Interfaces: Astra.Components.IComponentFacade<Astra.Components.CameraLook>.

Consulte também Olhar para propriedades, valores iniciais, requisitos e edição em Play.

Membro Categoria
.ctor Method
Remove Method
Wrap Method
Component Property
Enabled Property
InstanceId Property
IsAlive Property
Object Property
PitchLimit Property
PitchSensitivity Property
TypeId Property
YawSensitivity Property

.ctor

public CameraLook(Astra.Component component)
Parâmetro Tipo Contrato
component Astra.Component

Remove

public void Remove()

Remove a instância pelo ciclo nativo; dependências e ownership podem recusar.

Wrap

public static Astra.Components.CameraLook Wrap(Astra.Component component)
Parâmetro Tipo Contrato
component Astra.Component

Component

public Astra.Component Component { get; }

Enabled

public bool Enabled { get; set; }

Ativo

InstanceId

public ulong InstanceId { get; }

IsAlive

public bool IsAlive { get; }

Object

public Astra.GameObject Object { get; }

PitchLimit

public float PitchLimit { get; set; }

Limite vertical graus (°)

Faixa válida: 1 a 89.

PitchSensitivity

public float PitchSensitivity { get; set; }

Sensibilidade vertical graus/tela (°)

Faixa válida: 0 a 720.

TypeId

public static string TypeId { get; }

YawSensitivity

public float YawSensitivity { get; set; }

Sensibilidade horizontal graus/tela (°)

Faixa válida: 0 a 720.