Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2016-0-4 21:24

Class enchant.gl.physics.PhyContainer

Class Summary
Constructor Attributes Constructor Name and Description
 
枡型のPhySprite3D.
Fields borrowed from class enchant.gl.physics.PhySprite3D:
friction, restitution

Class Detail

enchant.gl.physics.PhyContainer(scale, mass)
枡型のPhySprite3D. PhySprite3Dに追加すると, stepSimulationを呼び出した際に物理演算が適用される.
Parameters:
{Number} scale
枡の中心から枠までの距離.
{Number} mass
剛体の質量.
See:
enchant.gl.physics.PhySprite3D
enchant.gl.physics.PhyScene3D