Creates an instance of camera component.
Object3 d attr of abstract object3d component
Object attr of abstract subscribe component
Change list of abstract subscribe component
Need update of abstract subscribe component
The camera is active.
Camera frustum aspect ratio, usually the canvas width / canvas height. Default is 1 (square canvas).
Defines whether the renderer should automatically clear its output before rendering a frame.
The autoRotate of camera component
Camera frustum bottom plane.
Whether the object gets rendered into shadow map. Default is false.
Tells the renderer to clear its color, depth or stencil drawing buffer(s). This method initializes the color buffer to the current clear color value. Arguments default to true.
The clearAlpha of camera component
Clear the color buffer. Equivalent to calling .clear( true, false, false ).
Clear the depth buffer. Equivalent to calling .clear( false, true, false ).
The controlType of camera component
Notice - case insensitive.
Content children of abstract object3d component
Debug this Object
Enabled or Not
Camera frustum far plane. Default is 2000. Must be greater than the current value of Camera.near plane.
Sets the FOV by focal length in respect to the current .filmGauge. By default, the focal length is specified for a 35mm (full frame) camera.
Camera frustum vertical field of view, from bottom to top of view, in degrees. Default is 50.
When this is set, it checks every frame if the object is in the frustum of the camera before rendering the object. If set to false
the object gets rendered every frame even if it is not in the frustum of the camera. Default is true
.
The geometry of mesh
Content children of mesh component
The size of height
The Id of abstract subscribe component
Camera frustum left plane.
The material of mesh
The material of mesh is array
Content children of abstract object3d component
When this is set, it calculates the matrix of position, (rotation or quaternion) and scale every frame and also recalculates the matrixWorld property. Default is Object3D.DefaultMatrixAutoUpdate (true).
The name of the object (doesn't need to be unique). Default is an empty string.
Camera frustum near plane. Default is 0.1. The valid range is between 0 and the current value of the Camera.far plane. Note that, unlike for the PerspectiveCamera, 0 is a valid value for an OrthographicCamera's near plane.
The Object3d of abstract object3d component
Content children of abstract object3d component
Will be called when before destory. The argument will be the loaded self
Will be called when load completes. The argument will be the loaded self
The orthoSize of camera component
The override params
The Parent of abstract subscribe component
Parent object3d of abstract object3d component
Whether the material receives shadows. Default is false.
The referObject3d of camera component
Camera frustum right plane.
The given scene
The given scene
A rectangular area inside the render target's viewport. Fragments that are outside the area will be discarded. Vector4.height
Indicates whether the scissor test is active or not.
A rectangular area inside the render target's viewport. Fragments that are outside the area will be discarded. Vector4.width
A rectangular area inside the render target's viewport. Fragments that are outside the area will be discarded. Vector4.x
A rectangular area inside the render target's viewport. Fragments that are outside the area will be discarded. Vector4.y
The storageName of camera
Subscribe type of abstract subscribe component
Camera frustum top plane.
Tween animation params
The type of camera
PingPong - When use "PingPongCamera", the camera muse be located in scene
Three Type | Value String(case insensitive) |
---|---|
THREE.PerspectiveCamera | PerspectiveCamera, Perspective |
THREE.ArrayCamera | ArrayCamera, Array |
THREE.CubeCamera | CubeCamera, Cube, CubePingPong |
NgxPingPongCamera | PingPong, CubePingPong, CubePingPongCamera, PingPongCamera |
THREE.OrthographicCamera | OrthographicCamera, Orthographic |
THREE.StereoCamera | StereoCamera, Stereo |
An object that can be used to store custom data about the Object3D. It should not hold references to functions as these will not be cloned.
The viewport of this render target.
The viewport of this render target.
Three Type | Value String(case insensitive) |
---|---|
THREE.WebGLRenderer#setViewport | renderer |
THREE.PerspectiveCamera#setViewOffset | viewoffset, offset |
THREE.OrthographicCamera#setViewOffset | viewoffset, offset |
THREE.PerspectiveCamera | #viewport - camera |
Object gets rendered if true. Default is true.
The size of width
Export this Object to window global variables
The viewport of this render target. Vector4.x
The viewport of this render target. Vector4.y
Gets or sets the zoom factor of the camera. Default is 1.
Sets need update
Adds changes
Adds position
position
Adds rotation
rotation
Applys changes
Applys changes3d
Calls on load
Checks changes
changes
Clears changes
Consoles log
Consoles log time
Destroys local component
Disposes abstract subscribe component
Gets changes
changes
Gets cube render target
cube render target
Gets geometry
geometry
Gets id
id
Gets material one
material one
Gets materials
materials
Gets materials multi
materials multi
Gets name
name
Gets object
object
Gets renderer
renderer
Gets subscribe
subscribe
Gets tag attribute object3d
Gets texture
texture
Gets timeout 특정 시간후에 이벤트 발생시키기
timeout
Gets user data
Gets visible
true if visible
Inits local component
local component
Determines whether id euals is
true if id euals
A callback method that is invoked immediately after Angular has completed initialization of all of the directive's content. It is invoked only once when the directive is instantiated.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated. default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.
The changed properties.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Renders camera component
Resets tween
Runs subscribe next
Sets lookat
lookat
Sets object
Sets position
position
Sets renderer
Sets camera size
Sets rotation
rotation
Sets scale
scale
Sets scale scalar
scale scalar
Sets subscribe next
Sets subscribe type
Sets tween
Sets tween target
Sets user data
Sets visible
Subscribes list query
Subscribes list query change
Subscribes refer
Subscribes refer list
subscribe refer
subscribe refer list
subscription
subscription
Updates input params
Generated using TypeDoc
The Camera component.
See the ngx3js docs page for details. See the ngx camera page for a live demo.
THREE.Camera