Skip to content
Alexander Buzin edited this page Oct 16, 2016 · 5 revisions

##r11 → r12 (dev)

  • WHS.World .setScene() is now .importScene()
  • (WHS.Shape, WHS.Light, WHS.Camera)
    • .setNative() removed. Use .native = myMesh instead.
    • .getNative() removed. Use .native instead.
    • .getParent() removed. Use .parent instead.
    • .setParams() removed. Use .params = {} instead.
  • Object-oriented System -> Component-oriented System. Usage:
@MeshComponent
class BasicSphere extends Component {
  • Classes changed:
    • WHS.Camera -> WHS.CameraComponent decorator.
    • WHS.Light -> WHS.LighgtComponent decorator.
    • WHS.Shape -> WHS.MeshComponent decorator. (WHS.Shape now replaces WHS.Shape2D)
    • WHS.Shape physics part -> WHS.PhysicsComponent decorator.
    • WHS.Shape softbody processing part -> WHS.SoftbodyComponent decorator.
Clone this wiki locally