Behaviours
BxVPMSegments Class Reference

Inherits BxVPMDMD.

Public Member Functions

override void updateTexture ()
 Updates the texture => must be implemented be children classes.
 
- Public Member Functions inherited from BxVPMDMD
void LinkToController (VPinMameTypeLib.Controller c)
 
- Public Member Functions inherited from BxBasicDMD
override void Start ()
 Use this for initialization.
 
void initTexture (int width, int height)
 Initialize the DMD Texture pinning pixels array in memory.
 
virtual void OnDisable ()
 Free the pinned array handles.
 
void SetColor (Color c)
 
- Public Member Functions inherited from BxActivable
void TurnOn ()
 Activate the object.
 
void TurnOff ()
 Dectivate the object.
 
virtual BxActivable Invert (bool b=true)
 
virtual void OverrideState (bool b)
 
bool GetState ()
 
virtual void SetStateCB (int slot, bool b)
 
virtual void SetValue (int v)
 
virtual void SetValueCB (int slot, int v)
 
void SetActivated (bool b)
 
bool IsBlinking ()
 Start Blinking process.
 
void StartBlinking ()
 Start Blinking process.
 
void StopBlinking ()
 Stop Blinking process.
 
virtual void BehaviourStateCB (BxActivable a, bool b)
 
virtual void AddBehaviourStateCallBack (BxTableManager.BehaviourStateCallBack dest)
 
virtual void RemoveBehaviourStateCallBack (BxTableManager.BehaviourStateCallBack dest)
 
virtual BxActivable LinkTo (BxActivable dest)
 
virtual void SetState (bool b)
 

Public Attributes

string[] m_objects
 
- Public Attributes inherited from BxActivable
bool m_overrideMode =false
 overriding mode
 
string m_blinkPattern = "10"
 Blink Pattern.
 
int m_blinkInterval = 60
 Blink interval (ms)
 
int m_flashForMs = -1
 Blink duration (<0 means infinite)
 
bool m_flashForMsEndState = false
 State to set after flash for ms is finished.
 

Additional Inherited Members

- Static Public Attributes inherited from BxBasicDMD
static bool m_showAdditionnalInGui = false
 Additionnal GUI DMD visibility.
 
static Color s_DmdColor = new Color(1.0f,0.227f,0.125f)
 Dmd Tint Color.
 
static Rect m_additionnalGui = new Rect(10,10,256,64)
 
static ScaleMode m_stretchMode = ScaleMode.StretchToFill
 
static float rotAngle = 0
 
static bool fliph = false
 
static bool flipv = false
 
- Protected Member Functions inherited from BxVPMDMD
void checkTextureChange ()
 
- Protected Attributes inherited from BxVPMDMD
VPinMameTypeLib.Controller m_Controller =null
 Visual PinMAME extended Plugin interface.
 
- Protected Attributes inherited from BxBasicDMD
int m_W =10
 initial DMD Texture Width
 
int m_H =10
 initial DMD Texture Height
 
Texture2D m_Texture
 DMD Current Texture.
 
Color[] m_Pixels
 Array of the texture's pixels.
 
GCHandle m_PixelsHandle
 Pointer to the fixed array of the texture's pixels.
 
Rect traGUI
 
bool selectingStretch = false
 
bool dragging = false
 
bool scaling = false
 
Vector2 cur
 
- Protected Attributes inherited from BxActivable
bool m_state =false
 current state of the Object
 
int m_value =8
 object's "value"
 
bool m_CBactivated =true
 activation flag
 
bool m_savedState =true
 state before desactivation
 
int m_savedValue =8
 value before desactivation
 
bool m_invertBehaviour = false
 behaviour inversion (true is false and false is true)
 
- Protected Attributes inherited from BxBehaviour
ImporterParams m_ip = null
 
- Properties inherited from BxBehaviour
ImporterParams Params [get]
 

The documentation for this class was generated from the following file: