TransformBuilder.Scale
Contents
[
Hide
]Scale(double)
Chain a scaling transform matrix with a component scaled by s
public TransformBuilder Scale(double s)
Parameter | Type | Description |
---|---|---|
s | Double |
Examples
TransformBuilder tb = new TransformBuilder();
tb.Scale(10);
Console.WriteLine($"Transform Matrix: {tb.Matrix}");
See Also
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
Scale(double, double, double)
Chain a scaling transform matrix
public TransformBuilder Scale(double x, double y, double z)
Parameter | Type | Description |
---|---|---|
x | Double | |
y | Double | |
z | Double |
Examples
TransformBuilder tb = new TransformBuilder();
tb.Scale(10, 10, 10);
Console.WriteLine($"Transform Matrix: {tb.Matrix}");
See Also
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
Scale(Vector3)
Chain a scale transform
public TransformBuilder Scale(Vector3 s)
Parameter | Type | Description |
---|---|---|
s | Vector3 |
Examples
TransformBuilder tb = new TransformBuilder();
tb.Scale(new Vector3(10, 10, 10));
Console.WriteLine($"Transform Matrix: {tb.Matrix}");
See Also
- struct Vector3
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D