The perpendicular face offset specifies how much perpendicular faces in the decal will taper out.

The bottom of the perpendicular face will taper out by the amount given, but the top of the perpendicular face will not taper at all.

Returns:

The perpendicular face offset.

virtual float iDecalTemplate::GetPerpendicularFaceThreshold

(

)

const [pure virtual]

The perpendicular face threshold specifies which faces are considered to be perpendicular in the decal.

Perpendicular faces will be tapered outwards by an amount relative to the perpendicular face offset.

Returns:

The perpendicular face threshold.

virtual float iDecalTemplate::GetPolygonNormalThreshold

(

)

const [pure virtual]

Retrieves the polygon normal threshold for this decal.

Values close to 1 will exclude polygons that don't match the decal's normal closely, and values closer to 0 will be more accepting and allow polygons with a very different normal from the decal's normal.

Values between -1 and 0 are acceptable, but will allow polygons that are facing in the opposite direction from the decal to be included.

Returns:

the polygon threshold.

virtual long iDecalTemplate::GetRenderPriority

(

)

const [pure virtual]

Retrieves the rendering priority for this decal.

Returns:

the rendering priority.

virtual float iDecalTemplate::GetTimeToLive

(

)

const [pure virtual]

Retrieves the time the decal will have to live in seconds before it is killed.

Returns:

The time to live in seconds.

virtual float iDecalTemplate::GetTopClippingScale

(

)

const [pure virtual]

Gets the distance between the decal position and the top clipping plane as a multiple of decal size.

The perpendicular face offset specifies how much perpendicular faces in the decal will taper out.

The bottom of the perpendicular face will taper out by the amount given, but the top of the perpendicular face will not taper at all.

Parameters:

offset

The new perpendicular face offset.

virtual void iDecalTemplate::SetPerpendicularFaceThreshold

(

float

threshold

)

[pure virtual]

The perpendicular face threshold specifies which faces are considered to be perpendicular in the decal.

Perpendicular faces will be tapered outwards by an amount relative to the perpendicular face offset.

Parameters:

threshold

The new perpendicular face threshold.

virtual void iDecalTemplate::SetPolygonNormalThreshold

(

float

polygonNormalThreshold

)

[pure virtual]

Sets the polygon normal threshold for this decal.

Values close to 1 will exclude polygons that don't match the decal's normal closely, and values closer to 0 will be more accepting and allow polygons with a very different normal from the decal's normal.

Values between -1 and 0 are acceptable, but will allow polygons that are facing in the opposite direction from the decal to be included.