Skip to content

SimplePlane

Creates a SimplePlane

The SimplePlane allows you to draw a texture across several points and then manipulate these points

API

SimplePlane Attributes

NameTypeDefaultDescription
draw-mode

number DRAW_MODES

DRAW_MODES.TRIANGLESThe draw mode to be used.
texturestring objectundefinedThe texture to use on the NineSlicePlane.
geometryobjectundefinedThe geometry to use on the SimplePlane.
verticesnumber10The number of vertices in the axis

more props in Container Props and PIXI.SimplePlane

SimplePlane Events

NameTypeDescription
renderfunctioncustom render function

more events in Container Events