PCamera Class

PCamera represents a viewport onto a list of layer nodes.

For a list of all members of this type, see PCamera Members.


public class PCamera : PNode

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Each camera maintains a view transform through which it views these layers. Translating and scaling this view transform is how zooming and panning are implemented.

Cameras are also the point through which all PInputEvents enter Piccolo. The canvas coordinate system, and the local coordinate system of the topmost camera should always be the same.


Namespace: UMD.HCIL.Piccolo

Assembly: UMD.HCIL.Piccolo (in UMD.HCIL.Piccolo.dll)

See Also

PCamera Members | UMD.HCIL.Piccolo Namespace