Pular para o conteúdo
AstraDOCS

Astra.ComponentIds

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

Os identificadores dos componentes nativos anexáveis.

Namespace: Astra · Assembly: Astra.Scripting · Tipo: Class

class Astra.ComponentIds

Os identificadores dos componentes nativos anexáveis.

Membro Categoria
Animation Field
Camera Field
CameraFollow Field
CameraLook Field
Character Field
Collider Field
Environment Field
Joint Field
Light Field
LodGroup Field
MeshRenderer Field
Path Field
PathFollow Field
PhysicsBody Field
ScriptBehavior Field
SkinnedMesh Field
Timer Field

Animation

public const string Animation = astra.animation

Animação: recursos clip (padrão) e clips (lista), clip_count, play_automatically, wrap_mode e speed. Tocar e misturar: Astra.Component.Animation.

Camera

public const string Camera = astra.camera

CameraFollow

public const string CameraFollow = astra.camera.follow

Follow target and damping for a Camera; only position is driven in Play.

CameraLook

public const string CameraLook = astra.camera.look

Character

public const string Character = astra.physics.character

Collider

public const string Collider = astra.physics.collider

Environment

public const string Environment = astra.render.environment

Ambiente autoral da cena: céu, atmosfera, neblina e pós.

Joint

public const string Joint = astra.physics.joint

Light

public const string Light = astra.render.light

Luz: kind, enabled, color, intensity, range, inner_angle, outer_angle, unit (0 escala legada, 1 lux/candela, 2 lux/lúmen), use_color_temperature e color_temperature em kelvin.

LodGroup

public const string LodGroup = astra.render.lod_group

LOD Group: level_count, transition_0..3 (% da altura da tela), level_0..3 (objeto do nível), size, fade_mode (0 nenhum, 1 cross-fade), animate_cross_fading, fade_width_0..3 e force_level (ForceLOD da Unity: 0 automático, n força o LOD n-1; estado de execução, não vai para o arquivo).

MeshRenderer

public const string MeshRenderer = astra.render.mesh

Path

public const string Path = astra.path

PathFollow

public const string PathFollow = astra.path.follow

PhysicsBody

public const string PhysicsBody = astra.physics.body

ScriptBehavior

public const string ScriptBehavior = astra.script.behavior

SkinnedMesh

public const string SkinnedMesh = astra.render.skinned_mesh

Malha deformável: quality (0 automática, 1, 2 ou 4 influências), skinned_motion_vectors e blend_shape_weight por slot (0..100). Os ossos são ligados pela importação. Use Astra.Component.DeformableMesh.

Timer

public const string Timer = astra.time.timer

Timer do mundo de Play. O evento chega em Astra.Behavior.TimerElapsed(System.UInt64,System.UInt32).