Protected
_awokenProtected
_enabledProtected
_frameProtected
_pixelProtected
_priorityProtected
_renderProtected
_updateProtected
_viewportReadonly
entityReadonly
isCamera flag
Readonly
isPerspectiveCamera flag
Component user data
Get camera color texture
Get camera depth texture
Indicates whether the component is enabled.
Set whether the component is enabled.
Get camera frustum far plane.
Set camera frustum far plane.
Get camera frustum vertical field of view, from bottom to top of view, in degrees.
Set camera frustum vertical field of view, from bottom to top of view, in degrees.
Get three.js native camera
Set camera frustum near plane.
Get camera frustum near plane.
Get pixel viewport size
Get camera priority
Set priority
Get camera render target
Set camera render target
Get camera update flag manager
Get normalized viewport size
Set normalized viewport size
Protected
_notifyProtected
_notifyProtected
_onProtected
_onProtected
_onProtected
_onProtected
_upateIntersect a entity by ray
Intersect a entity by screen point
Intersect a renderer by ray
Intersect a renderer by screen point
Unsubscribe a event, if the callback param is not defined, all subscribers of this type will be removed.
Optional
callback: SubscriberCallbackFnsubscriber callback
Subscribe a event
event type
callback functions
Optional
options: { options
Optional
priority?: PriorityOptional
target?: anySubscribe a event, just emit once
subscriber callback
Optional
priority?: PriorityOptional
target?: anyRaycast by ray
Optional
queryMask: QueryMaskRaycast by screen point
Optional
queryMask: QueryMask
Perspective camera component
Export
PerspectiveCamera
Date
2023.12.27
Author
yisky