GPU Particles

self:get_flatness

Client

Retrieves how flattened the emission cone is

Syntax

local amount = self:get_flatness()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatamountFlatness between 0 and 1

Examples

Get the flatness
local entity = particle.gpu.create()

core.engine.print("info", entity:get_flatness())

On this page