BevelVertexModifier.SetDistanceMode

This page contains reference documentation for the SetDistanceMode function. This function sets the bevel to use DISTANCE MODE.

Prototype

int SetDistanceMode()

Examples

Examples are as follows:

BevelVertexModifer bvModifier = new BevelVertexModifier;

// Configure a bevel based on percent.

bvModifier.SetPercentageMode();

// Set the bevel radius to 50 percent.

bvModifier.Radius = 0.5;

// Configure a bevel based on units.

bvModifier.SetDistanceMode();

// Set the bevel radius to 4 units.

bvModifier.Radius = 4;

Working Sample Code

For sample code: