space-engineers-api
0.9.0
common
jvm
space-engineers-api
/
spaceEngineers.model
/
CubeGrid
Cube
Grid
common
@
Serializable
data
class
CubeGrid
(
val
id
:
String
,
val
position
:
Vec3F
,
val
orientationForward
:
Vec3F
,
val
orientationUp
:
Vec3F
,
val
blocks
:
List
<
Block
>
=
emptyList()
,
val
mass
:
Float
,
val
parked
:
Boolean
=
false
,
val
velocity
:
Vec3F
,
val
name
:
String
,
val
displayName
:
String
,
val
inScene
:
Boolean
,
val
definitionId
:
DefinitionId
)
:
ExtendedEntity
Content copied to clipboard
Constructors
Properties
Extensions
Constructors
Cube
Grid
Link copied to clipboard
common
fun
CubeGrid
(
id
:
String
,
position
:
Vec3F
,
orientationForward
:
Vec3F
,
orientationUp
:
Vec3F
,
blocks
:
List
<
Block
>
=
emptyList()
,
mass
:
Float
,
parked
:
Boolean
=
false
,
velocity
:
Vec3F
,
name
:
String
,
displayName
:
String
,
inScene
:
Boolean
,
definitionId
:
DefinitionId
)
Content copied to clipboard
Properties
blocks
Link copied to clipboard
common
val
blocks
:
List
<
Block
>
Content copied to clipboard
definition
Id
Link copied to clipboard
common
open
override
val
definitionId
:
DefinitionId
Content copied to clipboard
display
Name
Link copied to clipboard
common
open
override
val
displayName
:
String
Content copied to clipboard
id
Link copied to clipboard
common
open
override
val
id
:
String
Content copied to clipboard
in
Scene
Link copied to clipboard
common
open
override
val
inScene
:
Boolean
Content copied to clipboard
mass
Link copied to clipboard
common
val
mass
:
Float
Content copied to clipboard
name
Link copied to clipboard
common
open
override
val
name
:
String
Content copied to clipboard
orientation
Forward
Link copied to clipboard
common
open
override
val
orientationForward
:
Vec3F
Content copied to clipboard
orientation
Up
Link copied to clipboard
common
open
override
val
orientationUp
:
Vec3F
Content copied to clipboard
parked
Link copied to clipboard
common
val
parked
:
Boolean
=
false
Content copied to clipboard
position
Link copied to clipboard
common
open
override
val
position
:
Vec3F
Content copied to clipboard
velocity
Link copied to clipboard
common
open
override
val
velocity
:
Vec3F
Content copied to clipboard
Extensions
to
World
Entity
Link copied to clipboard
jvm
fun
CubeGrid
.
toWorldEntity
(
)
:
WorldEntity
Content copied to clipboard