Skip to main content

Class: Road

This page documents the methods and fields available in the Road class.

Members

SignatureDescription
Road()Creates a new instance of Road.
getResolution()Returns the current resolution.
getRoadBorder()Returns the current road border.
getRoadBorderUV()Returns the current road border uv.
getRoadBorderVerticalOffset()Returns the current road border vertical offset.
getTerrainBorder()Returns the current terrain border.
getTextureMode()Returns the current texture mode.
getTextureWidth()Returns the current texture width.
getVerticalOffset()Returns the current vertical offset.
getWidth()Returns the current width.
isGenerateCollision()Returns whether generate collision is true.
setGenerateCollision(boolean)Sets or updates the generate collision.
setResolution(float)Sets or updates the resolution.
setRoadBorder(float)Sets or updates the road border.
setRoadBorderUV(float)Sets or updates the road border uv.
setRoadBorderVerticalOffset(float)Sets or updates the road border vertical offset.
setTerrainBorder(float)Sets or updates the terrain border.
setTextureMode(TextureMode)Sets or updates the texture mode.
setTextureWidth(float)Sets or updates the texture width.
setVerticalOffset(float)Sets or updates the vertical offset.
setWidth(float)Sets or updates the width.