TransformBuilder.Translate
Translate(double, double, double)
Chain a translation transform
public TransformBuilder Translate(double tx, double ty, double tz)
Parameter | Type | Description |
---|---|---|
tx | Double | |
ty | Double | |
tz | Double |
Examples
TransformBuilder tb = new TransformBuilder();
tb.Translate(0, 10, 0);
Console.WriteLine($"Transform Matrix: {tb.Matrix}");
See Also
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
Translate(Vector3)
Chain a translation transform
public TransformBuilder Translate(Vector3 v)
Parameter | Type | Description |
---|---|---|
v | Vector3 |
Examples
TransformBuilder tb = new TransformBuilder();
tb.Translate(new Vector3(0, 10, 0));
Console.WriteLine($"Transform Matrix: {tb.Matrix}");
See Also
- struct Vector3
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D