Home Reference Source Repository
import PMDReader from 'dh3dlib/js/mmd/PMDReader.js'
public class | source

PMDReader

Extends:

ModelReader → PMDReader

PMDReader class

Constructor Summary

Public Constructor
public

constructor

Method Summary

Public Methods
public
public
public
public
public
public
public
public
public
public

readIK()

public
public
public

read PMD file data from given URL

public

readModelFromFile(file: File): Promise

read PMD file data from File object

public

readModelProcess(url: *): *

public

readModelSub(url: *): *

public
public
public
public

Inherited Summary

From class ModelReader
public

read model file from url

public

read model file from File object

Public Constructors

public constructor source

constructor

Public Methods

public initRenderGroup() source

public readBone() source

public readBoneDisplay() source

public readBoneDisplayName() source

public readConstraint() source

public readEnglishInfo() source

public readFace() source

public readFaceDisplay() source

public readHeader(): boolean source

Return:

boolean

public readIK() source

public readIndex() source

public readMaterial() source

public readModel(url: string): Promise source

read PMD file data from given URL

Override:

ModelReader#readModel

Params:

NameTypeAttributeDescription
url string

model file url

Return:

Promise

resolved when loading model is completed

public readModelFromFile(file: File): Promise source

read PMD file data from File object

Override:

ModelReader#readModelFromFile

Params:

NameTypeAttributeDescription
file File

model file

Return:

Promise

resolved when loading model is completed

public readModelProcess(url: *): * source

Params:

NameTypeAttributeDescription
url *

Return:

*

public readModelSub(url: *): * source

Params:

NameTypeAttributeDescription
url *

Return:

*

public readRigidBody() source

public readToonTexture() source

public readVertex() source

public updateVertexBone() source