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

Package | org.b2ox.pv3d.MikuMikuDance
Class | public class VMDBoneParam
Inheritance | VMDBoneParam Object

ボーンパラメータの格納

Public Properties

| Property | Defined By
--- | --- | ---
|  | move : Number3D | VMDBoneParam
|  | rotation : Quaternion | VMDBoneParam

Public Methods

| Method | Defined By
--- | --- | ---
|  | VMDBoneParam(move:Number3D, rotation:Quaternion, interpolationXYZ:Function = null, interpolationRot:Function = null) コンストラクタ. | VMDBoneParam
|  | interpolateParam(target:VMDBoneParam, t:Number):VMDBoneParam 自身とtargetのt分点のパラメータを計算する | VMDBoneParam
|  | setInterpolationsByByteArray(bary:ByteArray):void ByteArrayから補間関数を作成 | VMDBoneParam
|  | setInterpolationsByCoeffs(ipCX:Array, ipCY:Array, ipCZ:Array, ipCR:Array):void X,Y,Z,R 4つの補間係数で補間関数を作成 | VMDBoneParam

Property Detail

move | property

`public var move:Number3D`

rotation | property |

`public var rotation:Quaternion`

Constructor Detail

VMDBoneParam | () | Constructor

`public function VMDBoneParam(move:Number3D, rotation:Quaternion, interpolationXYZ:Function = null, interpolationRot:Function = null)`

コンストラクタ.

Parameters

| `move:Number3D`
| `rotation:Quaternion`
| `interpolationXYZ:Function` (default = `null`)``
| `interpolationRot:Function` (default = `null`)``

Method Detail

interpolateParam | () | method

`public function interpolateParam(target:VMDBoneParam, t:Number):VMDBoneParam`

自身とtargetのt分点のパラメータを計算する

Parameters

| `target:VMDBoneParam`
| `t:Number`

Returns

| `VMDBoneParam` —

setInterpolationsByByteArray | () | method |

`public function setInterpolationsByByteArray(bary:ByteArray):void`

ByteArrayから補間関数を作成

Parameters

| `bary:ByteArray` — VMD形式のXYZR 64バイト配列

setInterpolationsByCoeffs | () | method |

`public function setInterpolationsByCoeffs(ipCX:Array, ipCY:Array, ipCZ:Array, ipCR:Array):void`

X,Y,Z,R 4つの補間係数で補間関数を作成

Parameters

| `ipCX:Array`
| `ipCY:Array`
| `ipCZ:Array`
| `ipCR:Array`

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