Home Reference Source
public class | source

L_AbstractCamera

Extends:

GLBoostObjectL_Element → L_AbstractCamera

Static Method Summary

Static Public Methods
public static

lookAtRHMatrix(eye: *, center: *, up: *): *

Constructor Summary

Public Constructor
public

constructor(glBoostContext: *, toRegister: *, lookat: *)

Member Summary

Public Members
public

[key]: *

public set

allInfo: *

public get

allInfo: *

public get
public get
public set
public get
public set

center: *

public get

center: *

public get
public get

eye: *

public set

eye: *

public get
public get
public set

texture: *

public get

texture: *

public get
public set
public get
public set

up: *

public get

up: *

public get

upInner: *

Private Members
private
private
private

_center: *

private
private
private
private
private
private
private
private
private
private

_up: *

private
private
private
private

Method Summary

Public Methods
public

isMainCamera(scene: *): *

public
public

setAsMainCamera(scene: *)

Private Methods
private
private

_needUpdateView(withTryingResetOfCameraController: *)

Inherited Summary

From class GLBoostObject
public static
private static
private static
public get
public get
public get

Return the simple class-specific number.

public get
public get
public get
public get
public get
public get
public set
private
private
private
private
private
private
private
private
private
private
public
public
public
public

Return instance name.

public
private

_copy(instance: *)

private
From class L_Element
public get
public get

matrix: *

public set
public get
public get
public set
public get

rotate: *

public set
public get
public set
public get

scale: *

public set
public get
public get
public set
public get
public

[key]: *

public
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
public
public

getMatrixAt(lineName: string, inputValue: Vector3): *

public

getMatrixAtOrStatic(lineName: string, inputValue: number): *

public
public

getQuaternionAt(lineName: string, inputValue: number): *

public

getQuaternionAtOrStatic(lineName: string, inputValue: number | nullliteral): *

public
public

getRotateAt(lineName: string, inputValue: number): *

public

getRotateAtOrStatic(lineName: string, inputValue: number): *

public
public

getScaleAt(lineName: string, inputValue: number): *

public

getScaleAtOrStatic(lineName: string, inputValue: number): *

public
public
public

getTranslateAt(lineName: string, inputValue: number): Vector3

public

getTranslateAtOrStatic(lineName: string, inputValue: number): *

public
public
public

headToDirection(fromVec: Vector3, toVec: Vector3)

public

isTrsMatrixNeeded(lineName: string, inputValue: number): *

public
public
public

setAnimationAtLine(lineName: string, attributeName: string, inputArray: Array<any>, outputArray: Array<any>, interpolationMethod: string)

public

Set animation input value (for instance frame value), This value affect all child elements in this scene graph (recursively).

public
public
private
private
private
private
private
private

_copy(instance: L_Element)

private

_getAnimatedTransformValue(value: *, animation: *, type: *): *

private
private

Static Public Methods

public static lookAtRHMatrix(eye: *, center: *, up: *): * source

Params:

NameTypeAttributeDescription
eye *
center *
up *

Return:

*

Public Constructors

public constructor(glBoostContext: *, toRegister: *, lookat: *) source

Override:

L_Element#constructor

Params:

NameTypeAttributeDescription
glBoostContext *
toRegister *
lookat *

Public Members

public [key]: * source

Override:

L_Element#[key]

public set allInfo: * source

public get allInfo: * source

public get allInfoAsInnerData: * source

public get allInfoExceptInnerData: * source

public set cameraController: * source

public get cameraController: * source

public set center: * source

public get center: * source

public get centerInner: * source

public get eye: * source

public set eye: * source

public get eyeInner: * source

public get middleLevelCamera: * source

public set texture: * source

public get texture: * source

public get translate: * source

Override:

L_Element#translate

public set translate: * source

Override:

L_Element#translate

public get translateInner: * source

public set up: * source

public get up: * source

public get upInner: * source

Private Members

private _bottomInner: * source

private _cameraController: * source

private _center: * source

private _centerInner: * source

private _dirtyView: boolean source

private _leftInner: * source

private _middleLevelCamera: * source

private _rightInner: * source

private _texture: * source

private _topInner: * source

private _translate: * source

Override:

L_Element#_translate

private _translateInner: * source

private _up: * source

private _upInner: * source

private _viewMatrix: * source

private _zFarInner: * source

private _zNearInner: * source

Public Methods

public isMainCamera(scene: *): * source

Params:

NameTypeAttributeDescription
scene *

Return:

*

public lookAtRHMatrix(): * source

Return:

*

public setAsMainCamera(scene: *) source

Params:

NameTypeAttributeDescription
scene *

Private Methods

private _affectedByCameraController() source

private _needUpdateView(withTryingResetOfCameraController: *) source

Params:

NameTypeAttributeDescription
withTryingResetOfCameraController *
  • optional
  • default: true