API Documentation | All Packages | All Classes | Index | Frames No Frames |
VMDController

Package | org.b2ox.pv3d.MikuMikuDance
Class | public class VMDController
Inheritance | VMDController Object
Implements | IVMDController

VMDクラスで読み込んだVMDデータの格納＆再生制御

Public Properties

| Property | Defined By
--- | --- | ---
|  | boneParamSequence : Vector.<VMDBoneParamSequence> [read-only] | VMDController
|  | counterTween : ITween [read-only] | VMDController
|  | frameLength : int [read-only] 総フレーム数を取得 | VMDController
|  | frameNo : int 現在のフレーム番号 | VMDController
|  | looping : Boolean | VMDController
|  | playing : Boolean [read-only] | VMDController
|  | skinParamSequence : Vector.<VMDSkinParamSequence> [read-only] | VMDController
|  | tween : ITween [read-only] | VMDController
|  | updaterTween : ITween [read-only] | VMDController

Public Methods

| Method | Defined By
--- | --- | ---
|  | VMDController(ctr:PMDController) コンストラクタ. | VMDController
|  | addBoneParam(boneName:String, frame:int, boneParam:VMDBoneParam):void ボーンパラメータの追加 | VMDController
|  | addSkinParam(skinName:String, frame:int, weight:Number):void 表情パラメータの追加 | VMDController
|  | applyCurrent():void 現在フレームのパラメータを適用する | VMDController
|  | applyFrame(frame:int):void 指定フレームのパラメータを適用する | VMDController
|  | applyPose():void | VMDController
|  | clone():VMDController ボーンパラメータなどは共有したコピーを作る | VMDController
|  | fixFrameParams():void キーフレームの登録完了処理 | VMDController
|  | gotoAndPlay(pos:Number):void | VMDController
|  | gotoAndStop(pos:Number):void | VMDController
|  | play():void | VMDController
|  | resetParams():void | VMDController
|  | stop():void | VMDController
|  | togglePause():void | VMDController
|  | update():void | VMDController

Property Detail

boneParamSequence | property

`boneParamSequence:Vector.<VMDBoneParamSequence>` [read-only]

Implementation
`public function get boneParamSequence():Vector.<VMDBoneParamSequence>`

counterTween | property |

`counterTween:ITween` [read-only]

Implementation
`public function get counterTween():ITween`

frameLength | property |

`frameLength:int` [read-only]

総フレーム数を取得

Implementation
`public function get frameLength():int`

frameNo | property |

`frameNo:int`

現在のフレーム番号

Implementation
`public function get frameNo():int`
`public function set frameNo(value:int):void`

looping | property |

`looping:Boolean`

Implementation
`public function get looping():Boolean`
`public function set looping(value:Boolean):void`

playing | property |

`playing:Boolean` [read-only]

Implementation
`public function get playing():Boolean`

skinParamSequence | property |

`skinParamSequence:Vector.<VMDSkinParamSequence>` [read-only]

Implementation
`public function get skinParamSequence():Vector.<VMDSkinParamSequence>`

tween | property |

`tween:ITween` [read-only]

Implementation
`public function get tween():ITween`

updaterTween | property |

`updaterTween:ITween` [read-only]

Implementation
`public function get updaterTween():ITween`
Constructor Detail

VMDController | () | Constructor

`public function VMDController(ctr:PMDController)`

コンストラクタ.

Parameters

| `ctr:PMDController` — モデル変形用PMDController

Method Detail

addBoneParam | () | method

`public function addBoneParam(boneName:String, frame:int, boneParam:VMDBoneParam):void`

ボーンパラメータの追加

Parameters

| `boneName:String`
| `frame:int`
| `boneParam:VMDBoneParam`

addSkinParam | () | method |

`public function addSkinParam(skinName:String, frame:int, weight:Number):void`

表情パラメータの追加

Parameters

| `skinName:String`
| `frame:int`
| `weight:Number`

applyCurrent | () | method |

`public function applyCurrent():void`

現在フレームのパラメータを適用する

applyFrame | () | method |

`public function applyFrame(frame:int):void`

指定フレームのパラメータを適用する

Parameters

| `frame:int`

applyPose | () | method |

`public function applyPose():void`

clone | () | method |

`public function clone():VMDController`

ボーンパラメータなどは共有したコピーを作る

Returns

| `VMDController` —

fixFrameParams | () | method |

`public function fixFrameParams():void`

キーフレームの登録完了処理

gotoAndPlay | () | method |

`public function gotoAndPlay(pos:Number):void`

Parameters

| `pos:Number`

gotoAndStop | () | method |

`public function gotoAndStop(pos:Number):void`

Parameters

| `pos:Number`

play | () | method |

`public function play():void`

resetParams | () | method |

`public function resetParams():void`

stop | () | method |

`public function stop():void`

togglePause | () | method |

`public function togglePause():void`

update | () | method |

`public function update():void`

Mon Aug 16 2010, 08:52 PM +09:00