Astra.ComponentIds
Os identificadores dos componentes nativos anexáveis.
Namespace: Astra · Assembly: Astra.Scripting · Tipo: Class
Declaração
Seção intitulada “Declaração”class Astra.ComponentIdsOs identificadores dos componentes nativos anexáveis.
Membros
Seção intitulada “Membros”| 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.animationAnimaçã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.cameraCameraFollow
public const string CameraFollow = astra.camera.followFollow target and damping for a Camera; only position is driven in Play.
CameraLook
public const string CameraLook = astra.camera.lookCharacter
public const string Character = astra.physics.characterCollider
public const string Collider = astra.physics.colliderEnvironment
public const string Environment = astra.render.environmentAmbiente autoral da cena: céu, atmosfera, neblina e pós.
Joint
public const string Joint = astra.physics.jointLight
public const string Light = astra.render.lightLuz: 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_groupLOD 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.meshPath
public const string Path = astra.pathPathFollow
public const string PathFollow = astra.path.followPhysicsBody
public const string PhysicsBody = astra.physics.bodyScriptBehavior
public const string ScriptBehavior = astra.script.behaviorSkinnedMesh
public const string SkinnedMesh = astra.render.skinned_meshMalha 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.timerTimer do mundo de Play. O evento chega em Astra.Behavior.TimerElapsed(System.UInt64,System.UInt32).