SkinMeshRenderer
A renderer component specifically designed for rendering skinned meshes with skeletal animation support.
| Type | Name | Interface Description |
|---|---|---|
| Variables | mainMaterial: Material | null | • Function: Gets the main material for the SkinMeshRenderer. |
| Variables | mainPass: Pass | null | • Function: Gets the main rendering pass from the object's main material. |
| Variables | mesh: Mesh | • Function: Gets the mesh with the SkinMeshRenderer. |
| Functions | constructor() | |
| Functions | getBoundingBox(): AABB | • Function: Gets the axis-aligned bounding box (AABB) for the skin mesh renderer. |
Examples
constructor()
let obj = new APJS.SkinMeshRenderer();
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use SkinMeshRenderer here
}
onUpdate(deltaTime: number) {
}
}