Renderable
Base class for rendering in 3D space by attaching to a io.github.sceneview.node.Node.
Inheritors
Types
Link copied to clipboard
Used to programmatically construct a Renderable.
Properties
Functions
Link copied to clipboard
open fun createInstance(engine: Engine, assetLoader: AssetLoader, resourceLoader: ResourceLoader, transformProvider: TransformProvider): RenderableInstance
Link copied to clipboard
Get the CollisionShape used for collision detection with this Renderable.
Link copied to clipboard
Gets the final model matrix to use for rendering this Renderable based on the matrix passed in.
Link copied to clipboard
Returns the material bound to the first submesh.
Returns the material bound to the specified submesh.
Link copied to clipboard
Returns the number of submeshes that this renderable has.
Link copied to clipboard
Returns the name associated with the specified submesh.
Link copied to clipboard
Creates a new instance of this Renderable.
Link copied to clipboard
Optionally override in subclasses for work that must be done each frame for specific types of Renderables.
Link copied to clipboard
Set the CollisionShape used for collision detection with this Renderable.
Link copied to clipboard
Sets the material bound to the first submesh.
Sets the material bound to the specified submesh.
Link copied to clipboard