VGDD:ContextHelp VuMeter

From VirtualFabWiki
Jump to: navigation, search

VuMeter

VuMeter1.png

Animate

This is a Player property that tells if the Player should animate the Widget or not

Bitmap

This is the bitmap to display as scale background

BitmapUsePointer

If set to true, causes the CodeGen to create a public void * for the bitmap, so you can change the background at runtime.

AngleFrom

AngleTo

These are the starting and ending angles for the scale. Any number between 0° and 360° can be used

MaxValue

MinValue

These vaules set the scale range.

PointerCenterOffsetX

PointerCenterOffsetY

These parameters set the rotation center of the needle, and are expressed as a percentage of the Width and Height respectively, so you can resize the VuMeter and keep them consistent. Both can be negative values, to set the virtual rotation center outside the displayed object.

PointerLength

Sets the length of the needle, in pixels.

PointerStart

Sets where the needle starts to be displayed, in pixels from the (virtual) rotation center.

PointerType

Sets the type of pointer to be displayed:

VU_POINTER_NORMAL

A solid pointer using Color0 will be drawn using subsequent line() calls

VU_POINTER_3D

A solid pointer with a 3D effect is drawn, using Color0 for the first half and Color1 for the second half.

VU_POINTER_WIREFRAME

Only the contour of the pointer is drawn, using Color0

VU_POINTER_NEEDLE

The pointer is drawn with a single, fast line, using Color0

PointerSpeed

Sets the needle behaviour. If set to 0, the movement will be in real time. With values >0 the needle will be moved towards the value to be displayed in subsequent drawing cycles, simulating an inertial behaviour.

PointerWidth

Sets trhe width of the pointer needle when PointerType <> VU_POINTER_NEEDLE