Packageorg.b2ox.pv3d.MikuMikuDance
Classpublic class VMDController
InheritanceVMDController Inheritance Object
Implements IVMDController

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



Public Properties
 PropertyDefined 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
 MethodDefined By
  
コンストラクタ.
VMDController
  
addBoneParam(boneName:String, frame:int, boneParam:VMDBoneParam):void
ボーンパラメータの追加
VMDController
  
addSkinParam(skinName:String, frame:int, weight:Number):void
表情パラメータの追加
VMDController
  
現在フレームのパラメータを適用する
VMDController
  
applyFrame(frame:int):void
指定フレームのパラメータを適用する
VMDController
  
applyPose():void
VMDController
  
ボーンパラメータなどは共有したコピーを作る
VMDController
  
キーフレームの登録完了処理
VMDController
  
gotoAndPlay(pos:Number):void
VMDController
  
gotoAndStop(pos:Number):void
VMDController
  
play():void
VMDController
  
VMDController
  
stop():void
VMDController
  
VMDController
  
update():void
VMDController
Property Detail
boneParamSequenceproperty
boneParamSequence:Vector.<VMDBoneParamSequence>  [read-only]


Implementation
    public function get boneParamSequence():Vector.<VMDBoneParamSequence>
counterTweenproperty 
counterTween:ITween  [read-only]


Implementation
    public function get counterTween():ITween
frameLengthproperty 
frameLength:int  [read-only]

総フレーム数を取得


Implementation
    public function get frameLength():int
frameNoproperty 
frameNo:int

現在のフレーム番号


Implementation
    public function get frameNo():int
    public function set frameNo(value:int):void
loopingproperty 
looping:Boolean


Implementation
    public function get looping():Boolean
    public function set looping(value:Boolean):void
playingproperty 
playing:Boolean  [read-only]


Implementation
    public function get playing():Boolean
skinParamSequenceproperty 
skinParamSequence:Vector.<VMDSkinParamSequence>  [read-only]


Implementation
    public function get skinParamSequence():Vector.<VMDSkinParamSequence>
tweenproperty 
tween:ITween  [read-only]


Implementation
    public function get tween():ITween
updaterTweenproperty 
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