Liking cljdoc? Tell your friends :D

threeagent.entity


IEntityTypecljsprotocol

createcljs

(create this context entity-config)

Returns a new instance of this entity type, based on the provided entity-config and context. The returned instance should be a ThreeJS Object3D or one of its sub-classes.

Returns a new instance of this entity type, based on the provided `entity-config` and `context`.
The returned instance should be a ThreeJS `Object3D` or one of its sub-classes.

destroy!cljs

(destroy! this context object entity-config)

Destroys an existing instance of this entity type.

Destroys an existing instance of this entity type.
source

IUpdateableEntityTypecljsprotocol

update!cljs

(update! this context object new-entity-config)

Updates an existing instance of this entity entity type in-place, based on the provided new-entity-config and context.

Updates an existing instance of this entity entity type in-place, based on the provided
`new-entity-config` and `context`.
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close