openrndr
0.4.5-dev.2+46aea0f
common
openrndr-math
/
org.openrndr.math.transforms
/
TransformBuilder
Transform
Builder
class
TransformBuilder
(
baseTransform
:
Matrix44
=
Matrix44.IDENTITY
)
(
source
)
Members
Constructors
Transform
Builder
Link copied to clipboard
constructor
(
baseTransform
:
Matrix44
=
Matrix44.IDENTITY
)
Functions
multiply
Link copied to clipboard
fun
multiply
(
matrix
:
Matrix44
)
rotate
Link copied to clipboard
fun
rotate
(
degrees
:
Double
)
fun
rotate
(
axis
:
Quaternion
)
fun
rotate
(
axis
:
Vector3
=
Vector3.UNIT_Z
,
degrees
:
Double
)
scale
Link copied to clipboard
fun
scale
(
scale
:
Double
)
fun
scale
(
scale
:
Vector3
)
fun
scale
(
scaleX
:
Double
,
scaleY
:
Double
,
scaleZ
:
Double
=
1.0
)
translate
Link copied to clipboard
fun
translate
(
offset
:
Vector2
)
fun
translate
(
offset
:
Vector3
)
fun
translate
(
x
:
Double
,
y
:
Double
,
z
:
Double
=
0.0
)
Properties
transform
Link copied to clipboard
var
transform
:
Matrix44