Name | Description | |
---|---|---|
NForceEnvironment Constructor | Default constructor |
The following tables list the members exposed by NForceEnvironment.
Name | Description | |
---|---|---|
NForceEnvironment Constructor | Default constructor |
Name | Description | |
---|---|---|
LocalCoolingStepProperty | Reference to the LocalCoolingStep property | |
LocalDirectionDeviationProperty | Reference to the LocalDirectionDeviation property | |
LocalWarmingStepProperty | Reference to the LocalWarmingStep property | |
MaxForceProperty | Reference to the MaxForce property | |
MaxLocalTemperatureProperty | Reference to the MaxLocalTemperature property | |
NForceEnvironmentSchema | Schema associated with NForceEnvironment | |
UseGlobalTemperatureProperty | Reference to the UseGlobalTemperature property | |
UseLocalTemperatureProperty | Reference to the UseLocalTemperature property | |
XMagnitudeFactorProperty | Reference to the XMagnitudeFactor property | |
YMagnitudeFactorProperty | Reference to the YMagnitudeFactor property |
Name | Description | |
---|---|---|
Layout | Gets the force directed layout to which this environment belongs | |
LocalCoolingStep | Gets or sets the local cooling step. It controls the amount with which the vertex local temperature is decreased if it deviates from its direction. By default set to 0.1f | |
LocalDirectionDeviation | Gets or sets the direction deviation. It controls the allowed deviation from the previous vertex force direction, below which the vertex is considered to have the same direction. By default set to 45 degrees | |
LocalWarmingStep | Gets or sets the local warming step. It controls the amount with which the vertex local temperature is increased if it follows its direction. By default set to 0.1f | |
MaxForce | Gets or sets the max force. In order to ensure the layout stability, the max force is used to define the largest possible force applied at each iteration. | |
MaxLocalTemperature | Gets or sets the max local temperature. It controls the maximum to which a vertex can be warmed. By default set to 1.0f | |
UseGlobalTemperature | Gets or sets whether to use global temperature. If this setting is set to true the movement of the vertices will be gradually constrained until they are finally freezed | |
UseLocalTemperature | Gets or sets whether to use local temperature. Setting this property to true, speeds up the movement of vertices traveling in the same direction and slows down the oscillating and rotating vertices | |
XMagnitudeFactor | Gets or sets the X magnitude factor. Controls the X force fraction to apply at each iteration. By default set to 1.0f | |
YMagnitudeFactor | Gets or sets the Y magnitude factor. Controls the Y force fraction to apply at each iteration. By default set to 1.0f |
Name | Description | |
---|---|---|
ApplyForce | Called to apply the force, which was accumulated in the specified vertex | |
Reset | Resets the enviroment. This method is called before the first iteration of each pass | |
Update | Updates the enviroment. This method is called on each layout iteration. |