Skip to main content

Road

Complete API reference for Road, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Roads

Component: yes


public class Road extends Component

Constructors

SignatureDescription
Road(Road)Executes Road and returns after the underlying engine call finishes.
Road(Engine)Executes Road and returns after the underlying engine call finishes.
Road()Creates a new instance of Road.

Attributes

NameTypeDescription
instanceRoadRepresents the instance value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
generateCollisionbooleansetVirtual attribute exposed by setGenerateCollision. Access it like a field to read or write the underlying value.
qualityfloatget/setVirtual attribute exposed by getQuality. Access it like a field to read or write the underlying value.
roadBorderfloatget/setVirtual attribute exposed by getRoadBorder. Access it like a field to read or write the underlying value.
roadBorderUVfloatget/setVirtual attribute exposed by getRoadBorderUV. Access it like a field to read or write the underlying value.
roadBorderVerticalOffsetfloatget/setVirtual attribute exposed by getRoadBorderVerticalOffset. Access it like a field to read or write the underlying value.
terrainBorderfloatget/setVirtual attribute exposed by getTerrainBorder. Access it like a field to read or write the underlying value.
textureModeTextureModeget/setVirtual attribute exposed by getTextureMode. Access it like a field to read or write the underlying value.
textureWidthfloatget/setVirtual attribute exposed by getTextureWidth. Access it like a field to read or write the underlying value.
verticalOffsetfloatget/setVirtual attribute exposed by getVerticalOffset. Access it like a field to read or write the underlying value.
widthfloatget/setVirtual attribute exposed by getWidth. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
isGenerateCollision()booleanReturns whether generate collision is true.