Advanced Cluster Part 2
•
In the Scene Tree panel rename the "Group" node to "Group_Bitmaps".
In the Scene Tree panel select the root node Custom_Gauge. In the Properties panel's [Layouter] section change the Layout type from "Overlay" to "None".
In the Scene Tree panel clone the "BackgroundImage" using the context menu's [Clone...]. In the opening "Clone Item" dialog enter "ForegroundImage" as name.

Let's change the images displayed by

In the Fusion diagram change the ProvideImageProperty's image by clicking
In the [Choose Item] dialog choose the image for BackgroundImage given in the table below and click [OK].
To switch to the Fusion diagram of the second image simply double click it in the solutionScene explorerTree panel.
•

In the Scene
• Change the Layout Type of Custom_Gauge from Overlay to None
• Inside of the group,a clone the “BackgroundImage” and name it “ForegroundImage”

• Change properties for BackgroundImage: in the behavior “ProvideImageProperty", change the picture from “GaugeSpeedBmp” to “Points_Blue_RedBmp”
• Change properties for ForegroundImage: in the behavior “ProvideImageProperty", change the picture from “GaugeSpeedBmp” to “Numbers_0-8Bmp”

• Cloneof the "NeedleImage" and name it "NeedleEffectImage"
•
Please follow the pictureorder from "GaugeNeedleBmp" to "NeedleBmp"
• Change properties for NeedleEffectImage: inof the behavior "ProvideImageProperty", change the picture from "GaugeNeedleBmp" to "Needle_LighterBmp"
• Select the "NeedleEffectImage"nodes in the scene tree andto drag&dropensure ittheir aboveproper visibility.

Let's change the


• Click NeedleImage. Rename the existing SetRotation behavior to "SetRotation_Needle"
• Click NeedleEffectImage. Rename the existing SetRotation behavior to "SetRotation_Effect". Drag the "SetRotation_Effect" behavior into the top node (Custom_Gauge)
• Click Custom_Gauge. Drag the SetRotation_Effect behavior as one of the Receivers of InterpolateValue
• Lastly, drag this SetRotation_Effect behavior back to the NeedleEffectImage in the Scene Tree. You will notice that an arrow sign will appear at the right side of SetRotation_Effect. Thanks to this, the needle effect will be rotated together with the needle.


• Go to the “NeedleEffectImage” and delete effect "Blend Mode"
• At the "NeedleEffectImage" change the settings of effect “BitmapBrushColorBlend”:
ColorBlendFactorSrc = DestColor, ColorBlendFactorDst = SourceAlpha


• Go to the “Custom_Gauge” behavior “MapValue” and set these properties:
OutputMin = -128.5, OutputMax = 128.5

