Click or drag to resize
AB4D logo

ModelUtilsPositionModel3D Method

PositionModel3D method translates the model3D so that it is positioned according to position and positionType parameters.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static void PositionModel3D(
	Model3D model3D,
	Point3D position,
	PositionTypes positionType,
	bool preserveCurrentTransformation = true
)

Parameters

model3D  Model3D
Model3D to center and scale
position  Point3D
Point3D that specifies position of the model3D
positionType  PositionTypes
type of position
preserveCurrentTransformation  Boolean  (Optional)
if true, then the translate and scale transform are added to the existing transform.
See Also