Costruttore
Decal.Default Constructor
Sintassi
Decal(location, rotation, material_asset, size = Vector(128, 256, 256), lifespan = 60, fade_screen_size = 0.01)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
location
|
Vector | — | — |
rotation
|
Rotator | — | — |
material_asset
|
MaterialPath | — | Material Asset |
size
facoltativo
|
Vector | Vector(128, 256, 256) |
Size of the Decal |
lifespan
facoltativo
|
float | 60 |
Time until automatically destroyed in seconds |
fade_screen_size
facoltativo
|
float | 0.01 |
Size percentage in screen to fade out |