SetCollisionPolyAlphaLimit
Sets the maxium alpha value which is considered transparent by the collision polygon generation The default value is 0.5. This setting doesn't, or course, affect collision polygons which are already created. Examples // Set the alpha limit to 0.3 and create a Bitmap with a collision polygon //
Settings::SetCollisionPolyAlphaLimit( 0.3 ); Bitmap myBmp( "gfx/MyImage.png", CREATE_COLLISION_POLY ); Other functions of the class Settings
Questions about SetCollisionPolyAlphaLimit? Click here. |