ArcBasicDocs

CameraProject

Projects a 3D point to the screen.

CameraProject ( camera,x#,y#,z# )

Parameters

camera
the camera's handle.
x#
the point's position across the world.
y#
its height.
z#
its depth.

Description

Works out where a point in the 3D world appears on the display, as seen by a camera. Read the answer with ProjectedX, ProjectedY and ProjectedZ. Use it to put 2D labels, health bars or targets over 3D objects.

See also