Preparing search index...
The search index is not available
sparkengineweb
sparkengineweb
TransformComponent
Class TransformComponent
Hierarchy (
view full
)
BaseComponent
TransformComponent
Index
Constructors
constructor
Properties
depth
Index
position
size
uuid
velocity
Methods
get
Container
set
Container
to
Json
update
Constructors
constructor
new
Transform
Component
(
props
?
)
:
TransformComponent
Parameters
Optional
props
:
TransformComponentProps
Returns
TransformComponent
Properties
depth
Index
depth
Index
:
number
= 0
position
position
:
Vec2
= ...
size
size
:
Size2D
= ...
Readonly
uuid
uuid
:
string
= ...
velocity
velocity
:
Vec2
= ...
Methods
get
Container
get
Container
(
)
:
undefined
|
IEntity
Returns
undefined
|
IEntity
set
Container
set
Container
(
container
)
:
void
Parameters
container
:
IEntity
Returns
void
to
Json
to
Json
(
)
:
WithType
<
TransformComponentProps
>
Returns
WithType
<
TransformComponentProps
>
update
update
(
deltaTime
?
)
:
void
Parameters
Optional
deltaTime
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
depth
Index
position
size
uuid
velocity
Methods
get
Container
set
Container
to
Json
update
sparkengineweb
Loading...