Package-level declarations

Types

Link copied to clipboard
open class CameraNode(val engine: Engine, val entity: Entity) : Node, CameraComponent

Represents a virtual camera, which determines the perspective through which the scene is viewed.

Link copied to clipboard
open class CubeNode : GeometryNode
Link copied to clipboard
Link copied to clipboard
open class GeometryNode(val engine: Engine, val geometry: Geometry, materialInstances: List<MaterialInstance?>, primitivesOffsets: List<IntRange> = geometry.primitivesOffsets, builderApply: RenderableManager.Builder.() -> Unit = {}) : RenderableNode

Mesh are bundles of primitives, each of which has its own geometry and material.

Link copied to clipboard
open class ImageNode : PlaneNode
Link copied to clipboard
open class LightNode(val engine: Engine, val entity: Entity) : Node, LightComponent

Light source Node in the scene such as a sun or street lights.

Link copied to clipboard
open class MeshNode(val engine: Engine, primitiveType: RenderableManager.PrimitiveType, val vertexBuffer: VertexBuffer, val indexBuffer: IndexBuffer, val boundingBox: Box? = null, materialInstance: MaterialInstance? = null, builder: RenderableManager.Builder.() -> Unit = {}) : RenderableNode

Mesh are bundles of primitives, each of which has its own geometry and material.

Link copied to clipboard
open class ModelNode(val modelInstance: ModelInstance, autoAnimate: Boolean = true, scaleToUnits: Float? = null, centerOrigin: Position? = null) : Node

Create the ModelNode from a loaded model instance.

Link copied to clipboard

A Node represents a transformation within the scene graph's hierarchy.

Link copied to clipboard
open class PlaneNode : GeometryNode
Link copied to clipboard
open class RenderableNode(val engine: Engine, val entity: Entity = EntityManager.get().create()) : Node, RenderableComponent

A Node represents a transformation within the scene graph's hierarchy.

Link copied to clipboard
open class ShapeNode : GeometryNode
Link copied to clipboard
Link copied to clipboard
open class ViewNode(val engine: Engine, val modelLoader: ModelLoader, val viewAttachmentManager: ViewAttachmentManager) : Node

A Node represents a transformation within the scene graph's hierarchy.

Link copied to clipboard
@RequiresApi(value = 28)
class ViewNode2(val engine: Engine, val windowManager: ViewNode2.WindowManager, materialLoader: MaterialLoader, view: View, unlit: Boolean = false, invertFrontFaceWinding: Boolean = false, val imageReaderMaxImages: Int = 7) : PlaneNode

A Node that can display an Android View

Functions

Link copied to clipboard
inline operator fun <T : MaterialInstance> List<T>.get(name: String): T
inline operator fun <T : ModelNode.ChildNode> List<T>.get(name: String): T
Link copied to clipboard
inline fun <T : MaterialInstance> List<T>.getOrNull(name: String): T?
inline fun <T : ModelNode.ChildNode> List<T>.getOrNull(name: String): T?