@esengine/nova-ecs-render-core - v1.0.1
Preparing search index...
Transform2D
Class Transform2D
2D Transform representation 2D变换表示
Index
Constructors
constructor
Properties
position
rotation
scale
Methods
inverse
multiply
transform
Point
identity
Constructors
constructor
new
Transform2D
(
position
?:
FixedVector2
,
rotation
?:
Fixed
,
scale
?:
FixedVector2
,
)
:
Transform2D
Parameters
position
:
FixedVector2
= FixedVector2.ZERO
rotation
:
Fixed
= Fixed.ZERO
scale
:
FixedVector2
= FixedVector2.ONE
Returns
Transform2D
Properties
position
position
:
FixedVector2
rotation
rotation
:
Fixed
scale
scale
:
FixedVector2
Methods
inverse
inverse
()
:
Transform2D
Returns
Transform2D
multiply
multiply
(
other
:
Transform2D
)
:
Transform2D
Parameters
other
:
Transform2D
Returns
Transform2D
transform
Point
transformPoint
(
point
:
FixedVector2
)
:
FixedVector2
Parameters
point
:
FixedVector2
Returns
FixedVector2
Static
identity
identity
()
:
Transform2D
Returns
Transform2D
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
position
rotation
scale
Methods
inverse
multiply
transform
Point
identity
@esengine/nova-ecs-render-core - v1.0.1
Loading...
2D Transform representation 2D变换表示