You are here: Start » AVL.NET » AVS.ResizeBox3D_Relative Method

AVS.ResizeBox3D_Relative Method

Resizes a box in 3D to relatively defined dimensions.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ResizeBox3D_Relative
(
	AvlNet.Box3D inBox3D,
	AvlNet.Anchor3D inAnchor,
	float inXScale,
	float inYScale,
	float inZScale,
	out AvlNet.Box3D outBox3D
)

Parameters

Name Type Range Default Description
inBox3DAvlNet.Box3DInput box in 3D.
inAnchorAvlNet.Anchor3DPoint of the box in 3D which position will not change.
inXScalefloat<0.0f, INF>1.0fScale factor in X axis. Default value: 1.0f.
inYScalefloat<0.0f, INF>1.0fScale factor in Y axis. Default value: 1.0f.
inZScalefloat<0.0f, INF>1.0fScale factor in Z axis. Default value: 1.0f.
outBox3DAvlNet.Box3DResized box.

See also