Constructor
new Motion()
- Source:
Example
function start(){
for(let motion of model.motions){
console.log("Name",motion.name)
}
if(model.motions.length>0){
let motion=model.motions[Math.floor(Math.random() * model.motions.length)];
motion.start()
}
}
Members
name :string
モーション名
Type:
- string
- Source:
Methods
isPlaying() → {boolean}
このモーションが現在再生中かどうかを返します。
- Since:
- nizima LIVE 2.3.0
- Source:
Returns:
再生中なら true
- Type
- boolean
start()
モーションを開始する
- Source:
stop()
停止する
- Source: