ScriptEvent:projectDecal

From Mod Wiki

Parameters

integer handle -- Handle to the decal
vector origin -- Start position of the projection.
vector direction -- Direction in which to project.
float depth -- Distance to project.
boolean parallel -- Whether the projection should be parallel or not.
vector size -- Size of the projected rectangle.
float angle -- Angle to rotate the rectangle by.
vector color -- Color to apply to the vertices.

Result

None.

Supported By

sdSysCallThread

Comments

  • The z component of size is unused.

Functionality

Performs a projection and adds the geometry found to this decal.