是否保留数据
可选lock可选name静态DEBUG静态cpu静态gpu增加一个依赖内容
依赖内容
增加多个依赖内容
依赖内容
The type of event.
可选data: any(Optional) Data to pass to the callback. If multiple parameters p1, p2, p3, ... need to be passed, use an array structure such as [p1, p2, p3, ...]. If a single parameter p needs to be passed and p is an array, use a structure such as [p]. For other single parameters p, you can directly pass parameter p. If data is Event.EMPTY, it means passing an Event object to the callback function. Note that it is not passing Event.TEMP, but an independent Event object.
True if there are listeners for this event type, false otherwise.
The index of the SubMesh.
The SubMesh at the specified index.
The type of event.
The listener function.
This EventDispatcher object.
The type of event.
The execution scope of the event listener function.
可选listener: FunctionThe listener function.
可选args: any[]This EventDispatcher object.
可选type: string(Optional) The type of event. If the value is null, all types of listeners on this object are removed.
This EventDispatcher object.
The target caller object.
This EventDispatcher object.
The type of event.
The listener function.
This EventDispatcher object.
The type of event.
The execution scope of the event listener function.
The listener function.
可选args: any[](Optional) The callback parameters of the event listener function.
This EventDispatcher object.
The type of event.
The listener function.
This EventDispatcher object.
The type of event.
The execution scope of the event listener function.
The listener function.
可选args: any[](Optional) The callback parameters of the event listener function.
This EventDispatcher object.
静态createvertexBuffers Array
vertex declaration info array
index Buffer
index Buffer format
subMesh render info,start for index offset,length for draw range。one mesh2D can Multisegmental rendering。
vb & ib data is readable or not
return a mesh2D,can use to Mesh2DRender
静态destroy
En
The
Mesh2Dclass represents a 2D mesh in the engine.Zh
Mesh2D类表示引擎中的2D网格。