Urho.DecalSet.AddDecal Method

Add a decal at world coordinates, using a target drawable's geometry for reference. If the decal needs to move with the target, the decal component should be created to the target's node. Return true if successful.

Syntax

public Boolean AddDecal (Drawable target, Vector3 worldPosition, Quaternion worldRotation, Single size, Single aspectRatio, Single depth, Vector2 topLeftUV, Vector2 bottomRightUV, Single timeToLive, Single normalCutoff, UInt32 subGeometry)

Parameters

target
worldPosition
worldRotation
size
aspectRatio
depth
topLeftUV
bottomRightUV
timeToLive
normalCutoff
subGeometry

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0