Home Reference Source
public class | source

M_OutlineGizmo

Extends:

GLBoostObjectL_ElementM_ElementM_GroupM_Gizmo → M_OutlineGizmo

Constructor Summary

Public Constructor
public

constructor(glBoostSystem: *, mesh: *, scale: *)

Member Summary

Public Members
public
Private Members
private
private

_group: *

private
private

_mesh: *

Method Summary

Public Methods
public

updateMatrix(mesh: *)

Private Methods
private

_init(glBoostSystem: *, mesh: *, scale: *)

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_Group
public get

AABB: *

public get
public set
private
private
private
private

_glBoostSystem: glBoostSystem

private
private
public

addChild(element: Element, isDuplicateOk: boolean)

Add the element to this group as a child.

public

clone(clonedOriginalRootElement: any, clonedRootElement: any, onCompleteFuncs: any): *

public

executeSpecifiedFunctionRecursively(func: Function, thisObj: any, args: Array<any>, childIndexToInsertToArgs: *)

public

getAnyJointAsChild(): M_Joint | nullliteral

public
public

getEndAnimationInputValue(inputLineName: string, element: M_Group): *

public

getStartAnimationInputValue(inputLineName: string, element: M_Group): *

public

rayCast(arg1: number, arg2: number, camera: any, viewport: any): undefined[]

public
public

remove all elements from this group.

public

remove the element from this group.

public

searchElement(query: string, queryMeta: QueryMeta, element: M_Group): *

public

searchElementByNameAndType(query: string, type: GLBoostObject, queryMeta: QueryMeta, element: M_Group): *

public

searchElementsByNameAndType(query: string, type: GLBoostObject, queryMeta: QueryMeta, element: M_Group): *

public

searchElementsByType(type: any, element: M_Element): *

public

searchGLBoostObjectByNameAndType(query: string, type: GLBoostObject, queryMeta: QueryMeta, element: M_Group | M_Element | M_Mesh): *

public

searchGLBoostObjectsByNameAndType(query: any, type: GLBoostObject, queryMeta: QueryMeta, element: M_Group): *

public

setSpecifiedPropertyRecursively(propertyName: string, value: any)

public

updateAABB(): *

private

_copy(instance: *)

private
private
private
private

_validateByQuery(object: GLBoostObject, query: string, queryMeta: QueryMeta): *

From class M_Gizmo
public get
public get
public set
public get

mesh: *

private
private
private

_mesh: *

Public Constructors

public constructor(glBoostSystem: *, mesh: *, scale: *) source

Override:

M_Gizmo#constructor

Params:

NameTypeAttributeDescription
glBoostSystem *
mesh *
scale *
  • optional
  • default: 0.05

Public Members

public isPreDraw: boolean source

Override:

M_Gizmo#isPreDraw

Private Members

private _forceThisMaterial: * source

Override:

M_Gizmo#_forceThisMaterial

private _group: * source

private _material: * source

private _mesh: * source

Override:

M_Gizmo#_mesh

Public Methods

public updateMatrix(mesh: *) source

Params:

NameTypeAttributeDescription
mesh *

Private Methods

private _init(glBoostSystem: *, mesh: *, scale: *) source

Params:

NameTypeAttributeDescription
glBoostSystem *
mesh *
scale *