Click or drag to resize
LightSpriteBaseaimZ Field
Depth offset relative to this sprite's location at which this light source points.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public float aimZ

Field Value

Type: Single
Remarks
Positive values point from the layer toward the viewer, and negative numbers point from the viewer toward the layer, so negative numbers would be more common for this value because light sources are generally positioned (with lightZ) on the same side of the layer as the viewer. Aim is mostly noticeable when apertureFocus is used to focus the light in one direction, however, if aim is not set, the light will not be visible. The size of the aim vector does not matter because it is normalized to a unit vector; only the direction matters.
See Also