iterami/Docs.htm/common HTM Repos/webgl.js/webgl_entity_scale(args)
- Scales an entity by modifying its vertices, either to a specific value or by a specific amount.
- 1 is the default scale and axes with a value of false are not scaled.
- If "update" is false, then the entity will be scaled without updating its scale properties.
- To scale all entities attached to a specific character, use webgl_character_scale(args).
- If "init" is true, then the entity is scaled regardless of previous scale properties.
| entity
|
| string ID
|
| init
| false
| boolean
|
| set
| false
| boolean
|
| todo
| true
| boolean
|
| update
| true
| boolean
|
| x
| false
| boolean false or number
|
| y
| false
| boolean false or number
|
| z
| false
| boolean false or number
|