Skip to content

Graphics ​

RenderingScripts: GraphicsComponent

From a script ​

ts
import { GraphicsComponent } from "mmpx";

const graphics = this.entity.TryGetComponent(GraphicsComponent);

Full API: GraphicsComponent.

Fields ​

FieldTypeDefaultDescription
Shapes
shapes
json[]
Material
material
material asset—A sprite-domain material — a shader drawing this component

© 2026 PlayAdGentic