SoFlash

InventorModule
genre Visualization
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoFlash
definition SoFlash.def
see also SoMaterial
keywords inventor, example, material, blink

Purpose

The module SoFlash provides a rapid changing material node that blends one color into another color.

Usage

Insert the SoFlash node in front of a shape node into the scene graph.

Windows

Default Panel

../../../Modules/Inventor/SoFlash/mhelp/Images/Screenshots/SoFlash._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Brightness: Float
Current Color: Color
End Color: Color
On: Bool
Period Length (sec): String
Start Color: Color

Visible Fields

Start Color

name: color, type: Color, default: 0 0 0

Sets the starting color.

End Color

name: targetColor, type: Color, default: 1 1 1

Sets the ending color.

Brightness

name: brightness, type: Float, default: 1, minimum: 0, maximum: 1

Sets the material brightness.

Period Length (sec)

name: time, type: String, default: 1

Sets the period of the animation of the Start Color to End Color.

The animation back takes the same time so a full cycle takes 2*time seconds.

On

name: on, type: Bool, default: TRUE

If checked, the node animates the color.

Current Color

name: outputColor, type: Color, persistent: no

Shows the currently interpolated color.