Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Camera2DClippingPlanes

Add this component to an entity with a Camera2D component to specify the distances from the camera to its near and far clipping planes. The camera draws elements between the clipping planes and ignores elements outside of them.

Hierarchy

Index

Constructors

constructor

  • Parameters

    • Optional near: number
    • Optional far: number

    Returns Camera2DClippingPlanes

Properties

far

far: number

The distance to the far clipping plane. The camera does not draw anything beyond this distance.

near

near: number

The distance to the near clipping plane. The camera does not draw anything closer than this distance.

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static cid

cid: number

Static far

Static near

Methods

Static _dtorFn

Static _fromPtr

Static _tempHeapPtr

Static _toPtr

Generated using TypeDoc