DecalRoad

consoledoc.h

A strip shaped decal defined by spine nodes which clips against Terrain objects.

More...

DecalRoad

assetIdString

Material Asset used for rendering.

string

Material used for rendering.

float

The length in meters of textures mapped to the DecalRoad.

float

Angle in degrees - DecalRoad will subdivided the spline if its curve is greater than this threshold.

int

DecalRoad(s) are rendered in descending renderPriority order.

Internal

string

Do not modify, for internal use.

Public Static Attributes

bool

For use by the Decal Editor.

bool

For use by the Decal Editor.

bool

Disables rendering of all instances of this type.

bool

Disables selection of all instances of this type.

bool

For use by the Decal Editor.

bool

For use by the Decal Editor.

bool

For use by the Decal Editor.

int

For use by the Decal Editor.

bool

For use by the Decal Editor.

Public Functions

void

Intended as a helper to developers and editor scripts.

void

Intended as a helper to developers and editor scripts.

Detailed Description

A strip shaped decal defined by spine nodes which clips against Terrain objects.

DecalRoad is for representing a road or path ( or other inventive things ) across a TerrainBlock. It renders as a decal and is therefore only for features that do not need geometric depth.

The Material assigned to DecalRoad should tile vertically.

DecalRoad

assetIdString MaterialAsset 

Material Asset used for rendering.

string Material 

Material used for rendering.

float textureLength 

The length in meters of textures mapped to the DecalRoad.

float breakAngle 

Angle in degrees - DecalRoad will subdivided the spline if its curve is greater than this threshold.

int renderPriority 

DecalRoad(s) are rendered in descending renderPriority order.

Internal

string Node 

Do not modify, for internal use.

Public Static Attributes

bool discardAll 

For use by the Decal Editor.

bool EditorOpen 

For use by the Decal Editor.

bool isRenderable 

Disables rendering of all instances of this type.

bool isSelectable 

Disables selection of all instances of this type.

bool showBatches 

For use by the Decal Editor.

bool showRoad 

For use by the Decal Editor.

bool showSpline 

For use by the Decal Editor.

int updateDelay 

For use by the Decal Editor.

bool wireframe 

For use by the Decal Editor.

Public Functions

postApply()

Intended as a helper to developers and editor scripts.

Force trigger an inspectPostApply. This will transmit the material and other fields ( not including nodes ) to client objects.

regenerate()

Intended as a helper to developers and editor scripts.

Force DecalRoad to update it's spline and reclip geometry.