Cone.js

API Docs for: 1.0.1
Show:

Cone.helpers

Summary

Bunch of methods I didn't find inside BabylonJS, that I coded for myself. Please tell me if they exist

Methods

cloneObject

Syntax

cloneObject

(
  • obj
)
Object static

Summary

Clone object (simple, not deep reccursive)

Parameters:

Returns:

getAnimationNamesFromMesh

Syntax

getAnimationNamesFromMesh

(
  • mesh
)
Array static

Summary

Parameters:

  • mesh BABYLON.Mesh

Returns:

isAnimationRegistered

Syntax

isAnimationRegistered

(
  • mesh
  • animationName
)
Boolean static

Summary

Parameters:

  • mesh BABYLON.Mesh
  • animationName String

Returns:

removeAnimationFromMesh

Syntax

removeAnimationFromMesh

(
  • mesh
  • animationName
)
Boolean static

Summary

Removes the animation from the mesh

returns true if the animation was removed / false if there was no animation to remove

Parameters:

  • mesh BABYLON.Mesh
  • animationName String

Returns: