Astra.Components.ScaleConstraint
Scale Constraint: Restrição de mundo com uma fonte. 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.ScaleConstraintScale Constraint: Restrição de mundo com uma fonte. Família Lógica · Restrições.
Referência estudada: https://docs.unity3d.com/6000.0/Documentation/Manual/class-ScaleConstraint.html
Interfaces: Astra.Components.IComponentFacade<Astra.Components.ScaleConstraint>.
Consulte também Scale 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 |
| Target | Property |
| TypeId | Property |
| Weight | Property |
.ctor
public ScaleConstraint(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.ScaleConstraint 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; }Deslocamento
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.