User Tools

Site Tools


4rpl:commands:setdecalsize

Index

SetDecalSize

SetDecalSize(<-decal <-size)

Description

Sets the Size (V2) of a decal. A decal is specified by its ID (shown in the decal editor pane). The width should be in the x postion of the supplied vector2 (V2) and the depth should be in the y position. Values for width and depth will be rounded to the nearest integer values.

Examples

GetDecalSize(<-decalID) ->size
printallsp(<-size.x <-size.y)

Index

4rpl/commands/setdecalsize.txt · Last modified: 2021/01/24 14:05 by Sanian