Astra.Components.ParentConstraint
Parent Constraint: Segue posição e rotação da fonte sem herdar escala. Família Lógica · Restrições.
Namespace: Astra.Components · Assembly: Astra.Scripting · Tipo: Struct
Declaração
Seção intitulada “Declaração”readonly struct Astra.Components.ParentConstraintParent Constraint: Segue posição e rotação da fonte sem herdar escala. Família Lógica · Restrições.
Referência estudada: https://docs.unity3d.com/6000.0/Documentation/Manual/class-ParentConstraint.html
Interfaces: Astra.Components.IComponentFacade<Astra.Components.ParentConstraint>.
Consulte também Parent Constraint para propriedades, valores iniciais, requisitos e edição em Play.
Membros
Seção intitulada “Membros”| Membro | Categoria |
|---|---|
| .ctor | Method |
| Remove | Method |
| Wrap | Method |
| AxisX | Property |
| AxisY | Property |
| AxisZ | Property |
| Component | Property |
| Enabled | Property |
| InstanceId | Property |
| IsAlive | Property |
| Object | Property |
| Offset | Property |
| RotationOffset | Property |
| RotationX | Property |
| RotationY | Property |
| RotationZ | Property |
| Target | Property |
| TypeId | Property |
| Weight | Property |
.ctor
public ParentConstraint(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.ParentConstraint Wrap(Astra.Component component)| Parâmetro | Tipo | Contrato |
|---|---|---|
component |
Astra.Component |
AxisX
public bool AxisX { get; set; }Aplicar X
AxisY
public bool AxisY { get; set; }Aplicar Y
AxisZ
public bool AxisZ { get; set; }Aplicar Z
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; }Offset
public System.Numerics.Vector3 Offset { get; set; }Posição offset
RotationOffset
public System.Numerics.Vector3 RotationOffset { get; set; }Rotação offset
RotationX
public bool RotationX { get; set; }Rotação X
RotationY
public bool RotationY { get; set; }Rotação Y
RotationZ
public bool RotationZ { get; set; }Rotação Z
Target
public Astra.ObjectReference Target { get; set; }Fonte
TypeId
public static string TypeId { get; }Weight
public float Weight { get; set; }Peso
Faixa válida: 0 a 1.