Line#

class Line#

A line. Created using add_line().

start#

Start position of the line.

Attribute:

Can be read or written

Return type:

tuple(float, float, float)

Game Scenes:

Flight

end#

End position of the line.

Attribute:

Can be read or written

Return type:

tuple(float, float, float)

Game Scenes:

Flight

reference_frame#

Reference frame for the positions of the object.

Attribute:

Can be read or written

Return type:

SpaceCenter.ReferenceFrame

Game Scenes:

Flight

visible#

Whether the object is visible.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

color#

Set the color

Attribute:

Can be read or written

Return type:

tuple(float, float, float)

Game Scenes:

Flight

material#

Material used to render the object. Creates the material from a shader with the given name.

Attribute:

Can be read or written

Return type:

str

Game Scenes:

Flight

thickness#

Set the thickness

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

remove()#

Remove the object.

Game Scenes:

Flight