Home Reference Source
public class | source

L_PerspectiveCamera

Extends:

GLBoostObjectL_ElementL_AbstractCamera → L_PerspectiveCamera

Static Member Summary

Static Private Members
private static

_xscale: *

private static

_yscale: *

Static Method Summary

Static Public Methods
public static

perspectiveRHMatrix(fovy: number, aspect: number, zNear: number, zFar: number): *

Constructor Summary

Public Constructor
public

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

Member Summary

Public Members
public get

allInfo: *

public set
public get
public get
public set
public get

aspect: *

public get

bottom: *

public get

fovy: *

public set
public get

left: *

public get

right: *

public get

top: *

public get
public set
public get

zFar: *

public get

zNear: *

public set
Private Members
private
private
private
private
private
private
private
private
private
private
private

Method Summary

Public Methods
public
Private Methods
private

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
From class L_AbstractCamera
public static

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

public get

allInfo: *

public set

allInfo: *

public get
public get
public get
public set
public get

center: *

public set

center: *

public get
public get

eye: *

public set

eye: *

public get
public get
public get

texture: *

public set

texture: *

public get
public set
public get
public get

up: *

public set

up: *

public get

upInner: *

public

[key]: *

private
private
private

_center: *

private
private
private
private
private
private
private
private
private
private

_up: *

private
private
private
private
public

isMainCamera(scene: *): *

public
public

setAsMainCamera(scene: *)

private
private

_needUpdateView(withTryingResetOfCameraController: *)

Static Private Members

private static _xscale: * source

private static _yscale: * source

Static Public Methods

public static perspectiveRHMatrix(fovy: number, aspect: number, zNear: number, zFar: number): * source

Params:

NameTypeAttributeDescription
fovy number
aspect number
zNear number
zFar number

Return:

*

Public Constructors

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

Override:

L_AbstractCamera#constructor

Params:

NameTypeAttributeDescription
glBoostContext *
toRegister *
lookat *
perspective *

Public Members

public get allInfo: * source

Override:

L_AbstractCamera#allInfo

public set allInfo: Object source

Override:

L_AbstractCamera#allInfo

public get allInfoAsInnerData: * source

Override:

L_AbstractCamera#allInfoAsInnerData

public get allInfoExceptInnerData: * source

Override:

L_AbstractCamera#allInfoExceptInnerData

public set aspect: number source

public get aspect: * source

public get bottom: * source

public get fovy: * source

public set fovy: number source

public get left: * source

public get right: * source

public get top: * source

public get updateCountAsCameraProjection: * source

public set zFar: number source

public get zFar: * source

public get zNear: * source

public set zNear: number source

Private Members

private _aspect: number source

private _dirtyProjection: boolean source

private _fovy: number source

private _projectionMatrix: * source

private _updateCountAsCameraProjection: number source

private _xscale: number source

private _yscale: number source

private _zFar: number source

private _zFarInner: number source

Override:

L_AbstractCamera#_zFarInner

private _zNear: number source

private _zNearInner: number source

Override:

L_AbstractCamera#_zNearInner

Public Methods

public projectionRHMatrix(): * source

Return:

*

Private Methods

private _needUpdateProjection() source