interface IInstanceRenderElement3D {
    canDynamicBatch: boolean;
    geometry: IRenderGeometryElement;
    instanceElementList: SingletonList<IRenderElement3D>;
    isRender: boolean;
    materialId: number;
    materialRenderQueue: number;
    materialShaderData: ShaderData;
    owner: IBaseRenderNode;
    renderShaderData: ShaderData;
    subShader: SubShader;
    transform: Transform3D;
    clearRenderData(): void;
    destroy(): void;
    recover(): void;
    setGeometry(geometry: IRenderGeometryElement): void;
}

层级 (查看层级一览)

实现于

属性

canDynamicBatch: boolean
instanceElementList: SingletonList<IRenderElement3D>
isRender: boolean
materialId: number
materialRenderQueue: number
materialShaderData: ShaderData
renderShaderData: ShaderData
subShader: SubShader
transform: Transform3D

方法