Home Reference Source Repository
import Model from 'dh3dlib/js/base/Model.js'
public class | source

Model

Direct Subclass:

ObjModel, PMDModel, XModel

Model class

Constructor Summary

Public Constructor
public

constructor(model: Model)

constructor

Member Summary

Public Members
public
public
public
public
public
public
public

ikArray: *

public
public
public
public

onload: *

public
public
public
public
public
public

Method Summary

Public Methods
public

clone(): *

public

cloneBoneRecursive(bone: *, oldArray: *, oldHash: *, newArray: *, newHash: *): *

public
public

cloneRenderGroup(oldGroup: *, newBoneArray: *): *

public

copy(model: Model): void

copy given model data to this model

public
public
public

Public Constructors

public constructor(model: Model) source

constructor

Params:

NameTypeAttributeDescription
model Model

Public Members

public boneArray: * source

public boneHash: * source

public constraintArray: * source

public dynamicSkinArray: * source

public dynamicSkinOffset: number source

public hashName: string source

public ikArray: * source

public indexArray: * source

public loaded: boolean source

public materialArray: * source

public onload: * source

public renderGroupArray: * source

public renderer: * source

public rigidBodyArray: * source

public rootBone: * source

public skinArray: * source

public vertexBuffer: * source

Public Methods

public clone(): * source

Return:

*

public cloneBoneRecursive(bone: *, oldArray: *, oldHash: *, newArray: *, newHash: *): * source

Params:

NameTypeAttributeDescription
bone *
oldArray *
oldHash *
newArray *
newHash *

Return:

*

public cloneForLoading(): * source

Return:

*

public cloneRenderGroup(oldGroup: *, newBoneArray: *): * source

Params:

NameTypeAttributeDescription
oldGroup *
newBoneArray *

Return:

*

public copy(model: Model): void source

copy given model data to this model

Params:

NameTypeAttributeDescription
model Model

source model

Return:

void

public destroy() source

public getDynamicSkinArray(): * source

Return:

*

public getSkinArray(): * source

Return:

*