Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Like Ceiling, but to multiple of StepSize value (e.g. "Ceiling 131 to multiple of 5" == 135).

Namespace: Visual3D
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public static int CeilingToMultiple(
	int number,
	int stepSize
)
Public Shared Function CeilingToMultiple ( _
	number As Integer, _
	stepSize As Integer _
) As Integer

Parameters

number
Int32
stepSize
Int32

See Also