User Tools

Site Tools


4rpl:commands:setdecalsize

This is an old revision of the document!


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.1611515124.txt.gz · Last modified: 2025/02/14 14:56 (external edit)