Home Reference Source
public class | source

M_Element

Extends:

GLBoostObjectL_Element → M_Element

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public set
public get
public set
public get
public get

gizmos: *

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

Method Summary

Public Methods
public

addGizmo(gizmo: M_Gizmo)

public
public
public
public
public
public
public
Private Methods
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

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

Public Constructors

public constructor(glBoostContext: GLBoostMiddleContext) source

Override:

L_Element#constructor

Params:

NameTypeAttributeDescription
glBoostContext GLBoostMiddleContext

Public Members

public set dirty: number source

public get elementUpdateNumber: * source

public set gizmoScale: number source

public get gizmoScale: * source

public get gizmos: * source

public get inverseTransformMatrixAccumulatedAncestryWithoutMySelf: * source

public get inverseWorldMatrix: * source

public get inverseWorldMatrix: * source

public get inverseWorldMatrixWithoutMySelf: * source

public get isAffectedByProjectionMatrix: * source

public set isAffectedByProjectionMatrix: boolean source

public get isAffectedByViewMatrix: * source

public set isAffectedByViewMatrix: boolean source

public set isAffectedByWorldMatrix: boolean source

public get isAffectedByWorldMatrix: * source

public set isAffectedByWorldMatrixAccumulatedAncestry: boolean source

public get isAffectedByWorldMatrixAccumulatedAncestry: * source

public get isGizmoVisible: * source

public set isGizmoVisible: boolean source

public get isTransparent: * source

public set isTransparent: boolean source

public get isVisible: * source

public set isVisible: boolean source

public get masterElement: * source

public set masterElement: M_Element source

public get normalMatrix: * source

Override:

L_Element#normalMatrix

public get opacity: * source

public set opacity: number source

public get opacityAccumulatedAncestry: * source

public get parent: * source

public set toInheritCurrentAnimationInputValue: boolean source

public get toInheritCurrentAnimationInputValue: * source

public transformMatrixOnlyRotate: Matrix44 source

public get worldMatrix: * source

public get worldMatrixForJoints: * source

public get worldMatrixWithoutMySelf: * source

Private Members

private __cache_input_multiplyMyAndParentTransformMatrices: Matrix44 source

private __cache_input_multiplyMyAndParentTransformMatricesForJoints: Matrix44 source

private __cache_input_multiplyMyAndParentTransformMatricesInInverseOrder: Matrix44 source

private __cache_returnValue_multiplyMyAndParentTransformMatrices: Matrix44 source

private __cache_returnValue_multiplyMyAndParentTransformMatricesForJoints: Matrix44 source

private __cache_returnValue_multiplyMyAndParentTransformMatricesInInverseOrder: Matrix44 source

private __updateInfoString_multiplyMyAndParentTransformMatrices: Matrix44 source

private __updateInfoString_multiplyMyAndParentTransformMatricesForJoints: string | number source

private __updateInfoString_multiplyMyAndParentTransformMatricesInInverseOrder: Matrix44 source

private _accumulatedAncestryObjectUpdateNumber: string | number source

private _accumulatedAncestryObjectUpdateNumberForJoints: string source

private _accumulatedAncestryObjectUpdateNumberInv: number source

private _accumulatedAncestryObjectUpdateNumberInverse: string source

private _accumulatedAncestryObjectUpdateNumberJoint: number source

private _accumulatedAncestryObjectUpdateNumberNormal: string | number source

private _accumulatedAncestryObjectUpdateNumberWithoutMySelf: number source

private _accumulatedWithoutMySelfAncestryObjectUpdateNumber: string | number source

private _activeAnimationLineName: string source

Override:

L_Element#_activeAnimationLineName

private _currentAnimationInputValues: Object source

Override:

L_Element#_currentAnimationInputValues

private _gizmos: Array<M_Gizmo> source

private _instanceName: string source

Override:

GLBoostObject#_instanceName

private _invMatrix: Matrix44 source

Override:

L_Element#_invMatrix

private _inverseMatrixAccumulatedAncestry: Matrix44 source

private _isAffectedByProjectionMatrix: boolean source

private _isAffectedByViewMatrix: boolean source

private _isAffectedByWorldMatrix: boolean source

private _isAffectedByWorldMatrixAccumulatedAncestry: boolean source

private _isTransparentForce: boolean source

private _isVisible: boolean source

private _is_inverse_trs_matrix_updated: boolean source

Override:

L_Element#_is_inverse_trs_matrix_updated

private _masterElement: M_Element | nullliteral source

private _matrixAccumulatedAncestry: Matrix44 source

private _matrixAccumulatedAncestryForJoints: Matrix44 source

private _matrixAccumulatedWithoutMySelfAncestry: Matrix44 source

private _normalMatrix: Matrix33 source

private _opacity: number source

private _parent: M_Group | nullliteral source

private _toInheritCurrentAnimationInputValue: boolean source

private _updateCountAsElement: string source

Override:

L_Element#_updateCountAsElement

private _worldMatrix: Matrix44 source

Public Methods

public addGizmo(gizmo: M_Gizmo) source

Params:

NameTypeAttributeDescription
gizmo M_Gizmo

public getInverseWorldMatrixAt(input: number): * source

Params:

NameTypeAttributeDescription
input number
  • nullable: true

Return:

*

public getWorldMatrixAt(input: number): * source

Params:

NameTypeAttributeDescription
input number

Return:

*

public getWorldMatrixForJointsAt(input: number): * source

Params:

NameTypeAttributeDescription
input number
  • nullable: true

Return:

*

public getWorldMatrixWithoutMySelfAt(input: number): * source

Params:

NameTypeAttributeDescription
input number
  • nullable: true

Return:

*

public prepareToRender() source

public readyForDiscard() source

Override:

GLBoostObject#readyForDiscard

public toStringWithUpdateInfo(): * source

Return:

*

Private Methods

private _accumulateMyAndParentNameWithUpdateInfo(currentElem: *): * source

Params:

NameTypeAttributeDescription
currentElem *

Return:

*

private _accumulateMyAndParentOpacity(currentElem: M_Element): * source

Params:

NameTypeAttributeDescription
currentElem M_Element

Return:

*

private _copy(instance: M_Element) source

Override:

L_Element#_copy

Params:

NameTypeAttributeDescription
instance M_Element

private _getCurrentAnimationInputValue(inputName: string): number | nullliteral source

Override:

L_Element#_getCurrentAnimationInputValue

Params:

NameTypeAttributeDescription
inputName string

Return:

number | nullliteral

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

Params:

NameTypeAttributeDescription
currentElem M_Element | nullliteral
withMySelf boolean

Return:

*

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

Params:

NameTypeAttributeDescription
withMySelf *
input *

Return:

*

private _multiplyMyAndParentTransformMatricesForJoints(withMySelf: *, input: *): * source

Params:

NameTypeAttributeDescription
withMySelf *
input *

Return:

*

private _multiplyMyAndParentTransformMatricesInInverseOrder(withMySelf: boolean, input: number): * source

Params:

NameTypeAttributeDescription
withMySelf boolean
input number

Return:

*

private _multiplyMyAndParentTransformMatricesInInverseOrder(withMySelf: *, input: *): * source

Params:

NameTypeAttributeDescription
withMySelf *
input *

Return:

*

private _needUpdate() source

Override:

L_Element#_needUpdate

private _setDirtyToAnimatedElement(inputName: string) source

Params:

NameTypeAttributeDescription
inputName string