FreeCamera class
class FreeCamera
- Inheritance
-
- Object
- Node
- Camera
- TargetCamera
- FreeCamera
- Annotations
-
- @JS()
Constructors
- FreeCamera(String name, Vector3 position, Scene scene, [bool setActiveOnSceneIfNoneActive])
Properties
- absoluteRotation → Quaternion
-
no setterinherited
- angularSensibility ↔ num
-
getter/setter pair
-
animations
↔ List<
Animation> -
getter/setter pairinherited
- applyGravity ↔ bool
-
getter/setter pair
-
behaviors
→ List<
Behavior< Node> > -
no setterinherited
- cameraDirection ↔ Vector3
-
getter/setter pairinherited
- cameraRigMode ↔ num
-
getter/setter pairinherited
- cameraRotation ↔ Vector2
-
getter/setter pairinherited
- checkCollisions ↔ bool
-
getter/setter pair
- collisionMask ↔ num
-
getter/setter pair
-
customRenderTargets
↔ List<
RenderTargetTexture> -
getter/setter pairinherited
- doNotSerialize ↔ bool
-
getter/setter pairinherited
- ellipsoid ↔ Vector3
-
getter/setter pair
- ellipsoidOffset ↔ Vector3
-
getter/setter pair
- fov ↔ num
-
getter/setter pairinherited
- fovMode ↔ num
-
getter/setter pairinherited
- globalPosition → Vector3
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pairinherited
- ignoreParentScaling ↔ bool
-
getter/setter pairinherited
- inertia ↔ num
-
getter/setter pairinherited
- interaxialDistance ↔ num
-
getter/setter pairinherited
- inverseRotationSpeed ↔ num
-
getter/setter pairinherited
- invertRotation ↔ bool
-
getter/setter pairinherited
- isIntermediate ↔ bool
-
getter/setter pairinherited
- isLeftCamera → bool
-
no setterinherited
- isRigCamera ↔ bool
-
getter/setter pairinherited
- isRightCamera → bool
-
no setterinherited
- isStereoscopicSideBySide ↔ bool
-
getter/setter pairinherited
-
keysDown
↔ List<
num> -
getter/setter pair
-
keysDownward
↔ List<
num> -
getter/setter pair
-
keysLeft
↔ List<
num> -
getter/setter pair
-
keysRight
↔ List<
num> -
getter/setter pair
-
keysUp
↔ List<
num> -
getter/setter pair
-
keysUpward
↔ List<
num> -
getter/setter pair
- layerMask ↔ num
-
getter/setter pairinherited
- leftCamera → FreeCamera
-
no setterinherited
- lockedTarget ↔ dynamic
-
getter/setter pairinherited
- maxZ ↔ num
-
getter/setter pairinherited
- metadata ↔ dynamic
-
getter/setter pairinherited
- minZ ↔ num
-
getter/setter pairinherited
- mode ↔ num
-
getter/setter pairinherited
- name ↔ String
-
getter/setter pairinherited
- noRotationConstraint ↔ bool
-
getter/setter pairinherited
-
onAfterCheckInputsObservable
↔ Observable<
Camera> -
getter/setter pairinherited
- onCollide ↔ void Function(AbstractMesh collidedMesh)
-
getter/setter pair
- onDispose ← void Function()
-
no getterinherited
-
onDisposeObservable
↔ Observable<
Node> -
getter/setter pairinherited
-
onProjectionMatrixChangedObservable
↔ Observable<
Camera> -
getter/setter pairinherited
- onReady ↔ void Function(Node node)
-
getter/setter pairinherited
-
onRestoreStateObservable
↔ Observable<
Camera> -
getter/setter pairinherited
-
onViewMatrixChangedObservable
↔ Observable<
Camera> -
getter/setter pairinherited
- orthoBottom ↔ num
-
getter/setter pairinherited
- orthoLeft ↔ num
-
getter/setter pairinherited
- orthoRight ↔ num
-
getter/setter pairinherited
- orthoTop ↔ num
-
getter/setter pairinherited
- outputRenderTarget ↔ RenderTargetTexture
-
getter/setter pairinherited
- parent ↔ Node
-
getter/setter pairinherited
- position ↔ Vector3
-
getter/setter pairinherited
- reservedDataStore ↔ dynamic
-
getter/setter pairinherited
-
rigCameras
→ List<
Camera> -
no setterinherited
- rightCamera → FreeCamera
-
no setterinherited
- rigParent ↔ Camera
-
getter/setter pairinherited
- rigPostProcess → PostProcess
-
no setterinherited
- rotation ↔ Vector3
-
getter/setter pairinherited
- rotationQuaternion ↔ Quaternion
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed ↔ num
-
getter/setter pairinherited
- state ↔ String
-
getter/setter pairinherited
- target ↔ Vector3
-
getter/setter pairinherited
- uniqueId ↔ num
-
getter/setter pairinherited
- updateUpVectorFromRotation ↔ bool
-
getter/setter pairinherited
- upVector ↔ Vector3
-
getter/setter pairinherited
- viewport ↔ Viewport
-
getter/setter pairinherited
- worldMatrixFromCache → Matrix
-
no setterinherited
Methods
-
addBehavior(
Behavior< Node> behavior) → Node -
inherited
-
attachControl(
[bool noPreventDefault]) → void -
inherited
-
attachPostProcess(
PostProcess postProcess, [num insertAt]) → num -
inherited
-
clone(
String name) → Camera -
inherited
-
computeWorldMatrix(
[bool force]) → Matrix -
inherited
-
createAnimationRange(
String name, num from, num to) → void -
inherited
-
createRigCamera(
String name, num cameraIndex) → Camera -
inherited
-
deleteAnimationRange(
String name, [bool deleteFrames]) → void -
inherited
-
detachControl(
) → void -
inherited
-
detachPostProcess(
PostProcess postProcess) → void -
inherited
-
dispose(
[bool doNotRecurse, bool disposeMaterialAndTextures]) → void -
override
-
freezeProjectionMatrix(
[Matrix projection]) → void -
inherited
-
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 -
inherited
-
getDirectionToRef(
Vector3 localAxis, Vector3 result) → void -
inherited
-
getEngine(
) → Engine -
inherited
-
getForwardRay(
[num length, Matrix transform, Vector3 origin]) → Ray -
inherited
-
getForwardRayToRef(
Ray refRay, [num length, Matrix transform, Vector3 origin]) → Ray -
inherited
-
getFrontPosition(
num distance) → Vector3 -
inherited
-
getLeftTarget(
) → Vector3 -
inherited
-
getProjectionMatrix(
[bool force]) → Matrix -
inherited
-
getRightTarget(
) → Vector3 -
inherited
-
getScene(
) → Scene -
inherited
-
getTarget(
) → Vector3 -
inherited
-
getTransformationMatrix(
) → Matrix -
inherited
-
getViewMatrix(
[bool force]) → Matrix -
inherited
-
getWorldMatrix(
) → Matrix -
inherited
-
isActiveMesh(
Mesh mesh) → bool -
inherited
-
isCompletelyInFrustum(
ICullable target) → bool -
inherited
-
isDescendantOf(
Node ancestor) → bool -
inherited
-
isDisposed(
) → bool -
inherited
-
isEnabled(
[bool checkAncestors]) → bool -
inherited
-
isInFrustum(
ICullable target, [bool checkRigCameras]) → bool -
inherited
-
isReady(
[bool completeCheck]) → bool -
inherited
-
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 -
inherited
-
serialize(
) → dynamic -
inherited
-
serializeAnimationRanges(
) → dynamic -
inherited
-
setCameraRigMode(
num mode, dynamic rigParams) → void -
inherited
-
setCameraRigParameter(
String name, dynamic value) → void -
inherited
-
setEnabled(
bool value) → void -
inherited
-
setTarget(
Vector3 target) → void -
inherited
-
storeState(
) → Camera -
inherited
-
toString(
[bool fullDetails]) → String -
A string representation of this object.
inherited
-
unfreezeProjectionMatrix(
) → void -
inherited
-
update(
) → void -
inherited
-
updateCache(
[bool force]) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited