Home Reference Source
public class | source

M_Joint

Extends:

GLBoostObjectL_ElementM_Element → M_Joint

Constructor Summary

Public Constructor
public

constructor(glBoostContext: *, isExistJointGizmo: *)

Member Summary

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

length: *

public get
public set
public set

width: *

public get

width: *

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

_gizmo: *

private
private
private
private
private
private

Method Summary

Public Methods
public
public

clone(): *

public
Private Methods
private

_copy(instance: *)

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

Public Constructors

public constructor(glBoostContext: *, isExistJointGizmo: *) source

Override:

M_Element#constructor

Params:

NameTypeAttributeDescription
glBoostContext *
isExistJointGizmo *
  • optional
  • default: undefined

Public Members

public get childJoints: * source

public set childJoints: * source

public set inverseBindMatrix: * source

public get inverseBindMatrix: * source

public get isCalculatedJointGizmo: * source

public get isVisible: * source

Override:

M_Element#isVisible

public set isVisible: * source

Override:

M_Element#isVisible

public set jointPoseMatrix: * source

public get jointPoseMatrix: * source

public set jointsOfParentHierarchies: * source

public get jointsOfParentHierarchies: * source

public length: * source

public get skeletalMesh: * source

public set skeletalMesh: * source

public set width: * source

public get width: * source

public get worldPositionOfParentJoint: * source

public set worldPositionOfParentJoint: * source

public get worldPositionOfThisJoint: * source

public set worldPositionOfThisJoint: * source

Private Members

private _childJoints: *[] source

private _gizmo: * source

private _inverseBindMatrix: * source

private _isCalculatedJointGizmo: boolean source

private _jointPoseMatrix: * source

private _jointsOfParentHierarchies: *[] source

private _length: number source

private _skeletalMesh: * source

Public Methods

public clearIsCalculatedLengthFlag() source

public clone(): * source

Return:

*

public updateGizmoDisplay() source

Private Methods

private _copy(instance: *) source

Override:

M_Element#_copy

Params:

NameTypeAttributeDescription
instance *