grassbatchEnableFlatteningExtInSphere
GRASSBATCH_ENABLE_FLATTENING_EXT_IN_SPHERE0xAAE9BE70EC7C69ABThe GTA V native GRASSBATCH_ENABLE_FLATTENING_EXT_IN_SPHERE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function grassbatchEnableFlatteningExtInSphere, in JavaScript and in Lua.
grassbatchEnableFlatteningExtInSphere(
x: number,
y: number,
z: number,
p3: any,
p4: number,
p5: number,
p6: number,
scale: number
): voidgrassbatchEnableFlatteningExtInSphere(
x: number,
y: number,
z: number,
p3: any,
p4: number,
p5: number,
p6: number,
scale: number
)Usage
JavaScript
grassbatchEnableFlatteningExtInSphere(x, y, z, p3, p4, p5, p6, scale);Lua
grassbatchEnableFlatteningExtInSphere(x, y, z, p3, p4, p5, p6, scale)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
grassbatchEnableFlatteningExtInSphere(pos, p3, p4, p5, p6, scale);Lua · with vectors
grassbatchEnableFlatteningExtInSphere(pos, p3, p4, p5, p6, scale)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | float | number | number |
z | float | number | number |
p3 | Any | any | any |
p4 | float | number | number |
p5 | float | number | number |
p6 | float | number | number |
scale | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void GRASSBATCH_ENABLE_FLATTENING_EXT_IN_SPHERE(float x, float y, float z, Any p3, float p4, float p5, float p6, float scale)- Hash
0xAAE9BE70EC7C69AB- Introduced
- Game build 1290 legacy numbering