(animation-controller entity & options)
Returns an AnimationController.
(animation-controller model-entity)
Returns an [AnimationController](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/utils/AnimationController.html). (animation-controller model-entity)
(animation-controller! object k & options)
Calls a single method on an animation-controller
.
Calls a single method on an `animation-controller`.
(attribute type & args)
Returns a subclass of Attribute.
(attribute :color (attribute-type :color :diffuse) (color :blue))
Returns a subclass of [Attribute](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/Attribute.html). (attribute :color (attribute-type :color :diffuse) (color :blue))
(attribute! type k & options)
Calls a static method in a subclass of Attribute.
(attribute! :color :create-diffuse (color :blue))
Calls a static method in a subclass of [Attribute](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/Attribute.html). (attribute! :color :create-diffuse (color :blue))
(attribute-type type k)
Returns a static field in a subclass of Attribute.
(attribute-type :color :diffuse)
Returns a static field in a subclass of [Attribute](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/Attribute.html). (attribute-type :color :diffuse)
(environment & options)
Returns an Environment.
(environment)
Returns an [Environment](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/Environment.html). (environment)
(environment! screen k & options)
Calls a single method on an environment
.
Calls a single method on an `environment`.
(material & options)
Returns a Material.
(material)
Returns a [Material](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/Material.html). (material)
(material! object k & options)
Calls a single method on a material
.
Calls a single method on a `material`.
(model & args)
Returns an entity based on ModelInstance. In addition to the listed options, you may also pass an internal path to a model object created by an external application.
; load a model from a file
(model "knight.g3dj")
; create a model from an existing model
(model (model "knight.g3dj"))
; set the position of a model
(assoc (model "knight.g3dj")
:x 0 :y 0 :z 0)
Returns an entity based on [ModelInstance](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/ModelInstance.html). In addition to the listed options, you may also pass an internal path to a model object created by an external application. ; load a model from a file (model "knight.g3dj") ; create a model from an existing model (model (model "knight.g3dj")) ; set the position of a model (assoc (model "knight.g3dj") :x 0 :y 0 :z 0)
(model! entity k & options)
Calls a single method on a model
.
Calls a single method on a `model`.
(model-batch & options)
Returns a ModelBatch.
(model-batch)
Returns a [ModelBatch](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/ModelBatch.html). (model-batch)
(model-batch! screen k & options)
Calls a single method on a model-batch
.
Calls a single method on a `model-batch`.
(model-builder & options)
Returns a ModelBuilder.
(model-builder)
Returns a [ModelBuilder](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/utils/ModelBuilder.html). (model-builder)
(model-builder! object k & options)
Calls a single method on a model-builder
.
Calls a single method on a `model-builder`.
(model? entity)
Returns true if entity
is a model
.
Returns true if `entity` is a `model`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close