[This is preliminary documentation and is subject to change.]

Draw a diamond shape at the specified position.

Namespace: org.critterai.u3d
Assembly: cai-util-u3d (in cai-util-u3d.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void DiamondMarker(
	Vector3 position,
	float scale,
	Color color
)
Public Shared Sub DiamondMarker ( _
	position As Vector3, _
	scale As Single, _
	color As Color _
)
public:
static void DiamondMarker(
	Vector3 position, 
	float scale, 
	Color color
)

Parameters

position
Vector3
The position.
scale
Single
The scale of the diamond.
color
Color
The surface color of the diamond.

Remarks

A scale of 1.0 will result in a diamond with a width and height of 2.0. (Each diamond point will be 1.0 units from the position.)

See Also