Click or drag to resize
CameraEntity Methods

The CameraEntity type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRayFrom2dPoint
Return a ray starting from the camera and pointing directly at a 2d position translated to 3d space. This is a helper function that help to get ray collision based on camera and position on screen.
Public methodRayFrom3dPoint
Return a ray starting from the camera and pointing directly at a 3d position.
Public methodRayFromMouse
Return a ray starting from the camera and pointing directly at mouse position (translated to 3d space). This is a helper function that help to get ray collision based on camera and mouse.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateViewPosition
Store camera world position.
Top
See Also