You are here: Start » AVL.NET » AVL.ResizeBox3D_Relative
Resizes a box in 3D to relatively defined dimensions.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
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 | |
---|---|---|---|---|---|
inBox3D | AvlNet.Box3D | Input box in 3D. | |||
inAnchor | AvlNet.Anchor3D | Point of the box in 3D which position will not change. | |||
inXScale | float | <0.0f, INF> | 1.0f | Scale factor in X axis. Default value: 1.0f. | |
inYScale | float | <0.0f, INF> | 1.0f | Scale factor in Y axis. Default value: 1.0f. | |
inZScale | float | <0.0f, INF> | 1.0f | Scale factor in Z axis. Default value: 1.0f. | |
outBox3D | AvlNet.Box3D | Resized box. |