Camera class
class Camera
- Inheritance
- Implementers
- Annotations
-
- @JS()
Constructors
Properties
- absoluteRotation → Quaternion
-
no setter
-
animations
↔ List<
Animation> -
getter/setter pairinherited
-
behaviors
→ List<
Behavior< Node> > -
no setterinherited
- cameraRigMode ↔ num
-
getter/setter pair
-
customRenderTargets
↔ List<
RenderTargetTexture> -
getter/setter pair
- doNotSerialize ↔ bool
-
getter/setter pairinherited
- fov ↔ num
-
getter/setter pair
- fovMode ↔ num
-
getter/setter pair
- globalPosition → Vector3
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pairinherited
- inertia ↔ num
-
getter/setter pair
- interaxialDistance ↔ num
-
getter/setter pair
- isIntermediate ↔ bool
-
getter/setter pair
- isLeftCamera → bool
-
no setter
- isRigCamera ↔ bool
-
getter/setter pair
- isRightCamera → bool
-
no setter
- isStereoscopicSideBySide ↔ bool
-
getter/setter pair
- layerMask ↔ num
-
getter/setter pair
- leftCamera → FreeCamera
-
no setter
- maxZ ↔ num
-
getter/setter pair
- metadata ↔ dynamic
-
getter/setter pairinherited
- minZ ↔ num
-
getter/setter pair
- mode ↔ num
-
getter/setter pair
- name ↔ String
-
getter/setter pairinherited
-
onAfterCheckInputsObservable
↔ Observable<
Camera> -
getter/setter pair
- onDispose ← void Function()
-
no getterinherited
-
onDisposeObservable
↔ Observable<
Node> -
getter/setter pairinherited
-
onProjectionMatrixChangedObservable
↔ Observable<
Camera> -
getter/setter pair
- onReady ↔ void Function(Node node)
-
getter/setter pairinherited
-
onRestoreStateObservable
↔ Observable<
Camera> -
getter/setter pair
-
onViewMatrixChangedObservable
↔ Observable<
Camera> -
getter/setter pair
- orthoBottom ↔ num
-
getter/setter pair
- orthoLeft ↔ num
-
getter/setter pair
- orthoRight ↔ num
-
getter/setter pair
- orthoTop ↔ num
-
getter/setter pair
- outputRenderTarget ↔ RenderTargetTexture
-
getter/setter pair
- parent ↔ Node
-
getter/setter pairinherited
- position ↔ Vector3
-
getter/setter pair
- reservedDataStore ↔ dynamic
-
getter/setter pairinherited
-
rigCameras
→ List<
Camera> -
no setter
- rightCamera → FreeCamera
-
no setter
- rigParent ↔ Camera
-
getter/setter pair
- rigPostProcess → PostProcess
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String
-
getter/setter pairinherited
- uniqueId ↔ num
-
getter/setter pairinherited
- upVector ↔ Vector3
-
getter/setter pair
- viewport ↔ Viewport
-
getter/setter pair
- worldMatrixFromCache → Matrix
-
no setterinherited
Methods
-
addBehavior(
Behavior< Node> behavior) → Node -
inherited
-
attachControl(
[bool noPreventDefault]) → void -
attachPostProcess(
PostProcess postProcess, [num insertAt]) → num -
clone(
String name) → Camera -
computeWorldMatrix(
[bool force]) → Matrix -
inherited
-
createAnimationRange(
String name, num from, num to) → void -
inherited
-
createRigCamera(
String name, num cameraIndex) → Camera -
deleteAnimationRange(
String name, [bool deleteFrames]) → void -
inherited
-
detachControl(
) → void -
detachPostProcess(
PostProcess postProcess) → void -
dispose(
[bool doNotRecurse, bool disposeMaterialAndTextures]) → void -
override
-
freezeProjectionMatrix(
[Matrix projection]) → void -
getAnimationByName(
String name) → Animation -
inherited
-
getBehaviorByName(
String name) → Behavior< Node> -
inherited
-
getChildMeshes(
[bool directDescendantsOnly, bool predicate(Node node)]) → List< AbstractMesh> -
inherited
-
getChildren(
[bool predicate(Node node), bool directDescendantsOnly]) → List< Node> -
inherited
-
getClassName(
) → String -
override
-
getDescendants(
[bool directDescendantsOnly, bool predicate(Node node)]) → List< Node> -
inherited
-
getDirection(
Vector3 localAxis) → Vector3 -
getDirectionToRef(
Vector3 localAxis, Vector3 result) → void -
getEngine(
) → Engine -
inherited
-
getForwardRay(
[num length, Matrix transform, Vector3 origin]) → Ray -
getForwardRayToRef(
Ray refRay, [num length, Matrix transform, Vector3 origin]) → Ray -
getLeftTarget(
) → Vector3 -
getProjectionMatrix(
[bool force]) → Matrix -
getRightTarget(
) → Vector3 -
getScene(
) → Scene -
inherited
-
getTransformationMatrix(
) → Matrix -
getViewMatrix(
[bool force]) → Matrix -
getWorldMatrix(
) → Matrix -
override
-
isActiveMesh(
Mesh mesh) → bool -
isCompletelyInFrustum(
ICullable target) → bool -
isDescendantOf(
Node ancestor) → bool -
inherited
-
isDisposed(
) → bool -
inherited
-
isEnabled(
[bool checkAncestors]) → bool -
inherited
-
isInFrustum(
ICullable target, [bool checkRigCameras]) → bool -
isReady(
[bool completeCheck]) → bool -
override
-
isSynchronized(
) → bool -
inherited
-
isSynchronizedWithParent(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeBehavior(
Behavior< Node> behavior) → Node -
inherited
-
restoreState(
) → bool -
serialize(
) → dynamic -
serializeAnimationRanges(
) → dynamic -
inherited
-
setCameraRigMode(
num mode, dynamic rigParams) → void -
setCameraRigParameter(
String name, dynamic value) → void -
setEnabled(
bool value) → void -
inherited
-
storeState(
) → Camera -
toString(
[bool fullDetails]) → String -
A string representation of this object.
override
-
unfreezeProjectionMatrix(
) → void -
update(
) → void -
updateCache(
[bool force]) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- ForceAttachControlToAlwaysPreventDefault ↔ bool
-
getter/setter pair
- FOVMODE_HORIZONTAL_FIXED → num
-
no setter
- FOVMODE_VERTICAL_FIXED → num
-
no setter
- ORTHOGRAPHIC_CAMERA → num
-
no setter
- PERSPECTIVE_CAMERA → num
-
no setter
- RIG_MODE_CUSTOM → num
-
no setter
- RIG_MODE_NONE → num
-
no setter
- RIG_MODE_STEREOSCOPIC_ANAGLYPH → num
-
no setter
- RIG_MODE_STEREOSCOPIC_INTERLACED → num
-
no setter
- RIG_MODE_STEREOSCOPIC_OVERUNDER → num
-
no setter
- RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED → num
-
no setter
- RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_PARALLEL → num
-
no setter
- RIG_MODE_VR → num
-
no setter
- RIG_MODE_WEBVR → num
-
no setter