sparkengineweb
Preparing search index...
TransformComponent
Class TransformComponent
Hierarchy (
View Summary
)
BaseComponent
TransformComponent
Index
Constructors
constructor
Properties
depth
Index
position
size
uuid
velocity
Methods
get
Container
set
Container
to
Json
update
Constructors
constructor
new
TransformComponent
(
props
?:
TransformComponentProps
)
:
TransformComponent
Parameters
Optional
props
:
TransformComponentProps
Returns
TransformComponent
Properties
depth
Index
depthIndex
:
number
= 0
position
position
:
Vec2
= ...
size
size
:
Size2D
= ...
Readonly
uuid
uuid
:
string
= ...
velocity
velocity
:
Vec2
= ...
Methods
get
Container
getContainer
()
:
undefined
|
IEntity
Returns
undefined
|
IEntity
set
Container
setContainer
(
container
:
IEntity
)
:
void
Parameters
container
:
IEntity
Returns
void
to
Json
toJson
()
:
WithType
<
TransformComponentProps
>
Returns
WithType
<
TransformComponentProps
>
update
update
(
deltaTime
?:
number
)
:
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...