# SetSolidMask

Objects
Status
5.1 OC
void
int x X position of the top left corner of the new SolidMask rectangle within the definition graphic.
int y Y position of the top left corner of the new SolidMask rectangle within the definition graphic.
int width Width of the new SolidMask rectangle within the definition graphic.
int height Height of the new SolidMask rectangle within the definition graphic.
int target_x X target position of the SolidMask relative to the top left corner of the object graphic.
int target_y Y target position of the SolidMask relative to the top left corner of the object graphic.
Sets the solid area of an object. The source rectangle determines which pixels from the definition graphic should be used. All pixels within the rectangle of less than 50% transparency will be solid. Also see the SolidMask entry in DefCore.txt.
Solid areas will internally be drawn in the landscape using the "Vehicle" material.
SetSolidMask();
Removes the SolidMask for the calling object.
Sven2
2003-06