iterami/Docs.htm/common HTM Repos/webgl.js/webgl_primitive_area(args)
- Can be used to quickly create entities with specific area properties, such as particles and water.
- You can input a number as the entity "vertices" property to quickly create randomly placed vertices for effects such as rain. If the "vertex_colors" prefab arg is empty, then each vertex will have a random color.
- Entities can apply their own area properties to override the default properties in the "area" arg.
- Additional default args are handled by webgl_prefab_args(args).
| area
| {}
| object
|
| character
| webgl_character_base
| string ID
|
| entities
| []
| array of objects
|
| groups
| []
| array of strings
|