AW EVENT LASER BEAM

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 5.0
SDKbuild 85


AW_EVENT_LASER_BEAM

Description

User recieved a laser beam event.

Notes

During this event, the SDK is notified a laser beam has been created, its source and/or target coordinates changed, or it has been deleted.

Attributes

AW_LASER_BEAM_SOURCE_TYPE (enum)

supported only: AW_LASER_BEAM_SOURCE_TYPE_AVATAR

AW_LASER_BEAM_SOURCE_ID (int)

must be the session id of the source location, if AW_LASER_BEAM_SOURCE_TYPE_AVATAR was used

AW_LASER_BEAM_SOURCE_X (int)

0, begin coordinate X in centimeters, not used, reserved

AW_LASER_BEAM_SOURCE_Y (int)

0, begin coordinate Y in centimeters, not used, reserved

AW_LASER_BEAM_SOURCE_Z (int)

0, begin coordinate Z in centimeters, not used, reserved

AW_LASER_BEAM_TARGET_TYPE (enum)

supported only: AW_LASER_BEAM_TARGET_TYPE_COORDS, AW_LASER_BEAM_TARGET_TYPE_NONE

AW_LASER_BEAM_TARGET_ID (int)

0, optional the session id of the target location if an avatar (see notes)

AW_LASER_BEAM_TARGET_X (int)

end coordinate X in centimeters

AW_LASER_BEAM_TARGET_Y (int)

end coordinate Y in centimeters

AW_LASER_BEAM_TARGET_Z (int)

end coordinate Z in centimeters

AW_LASER_BEAM_STYLE (enum)

supported only: AW_LASER_BEAM_STYLE_LINE

AW_LASER_BEAM_COLOR (ARGB32 - int)

color of the laser beam line

AW_LASER_BEAM_DEFINITION (char/wchar)

don't use, reserved.

Triggered by