Home Reference Source
public class | source

M_PerspectiveCamera

Extends:

GLBoostObjectL_ElementM_ElementM_AbstractCamera → M_PerspectiveCamera

Constructor Summary

Public Constructor
public

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

Member Summary

Public Members
public set

aspect: *

public get

aspect: *

public set

fovy: *

public get

fovy: *

public get
public set

zFar: *

public get

zFar: *

public set

zNear: *

public get

zNear: *

Private Members
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 M_Element
public set
public get
public get
public set
public get

gizmos: *

public get
public get
public get
public get
public get
public set
public get
public set
public get
public set
public get
public set
public get
public set
public get
public set
public get
public set
public get
public set
public get
public get

opacity: *

public set
public get
public get

parent: *

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

_masterElement: M_Element | nullliteral

private
private
private
private
private
private

_parent: M_Group | nullliteral

private
private
private
public

addGizmo(gizmo: M_Gizmo)

public
public
public
public
public
public
public
private
private
private

_copy(instance: M_Element)

private

_getCurrentAnimationInputValue(inputName: string): number | nullliteral

private

_multiplyMyAndParentRotateMatrices(currentElem: M_Element | nullliteral, withMySelf: boolean): *

private

_multiplyMyAndParentTransformMatrices(withMySelf: *, input: *): *

private
private
private
private
private
From class M_AbstractCamera
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 get
private
private
private
public

isMainCamera(scene: *): *

public
public

setAsMainCamera(scene: *)

private

Public Constructors

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

Override:

M_AbstractCamera#constructor

Params:

NameTypeAttributeDescription
glBoostContext *
toRegister *
lookat *
perspective *

Public Members

public set aspect: * source

public get aspect: * source

public set fovy: * source

public get fovy: * source

public get updateCountAsCameraProjection: * source

public set zFar: * source

public get zFar: * source

public set zNear: * source

public get zNear: * source

Private Members

private _lowLevelCamera: * source

Override:

M_AbstractCamera#_lowLevelCamera

Public Methods

public projectionRHMatrix(): * source

Return:

*

Private Methods

private _needUpdateProjection() source