C# Class Gearset.GS

Wrapper for Gearset. It should be used instead of accessing Gearset's methods directly as it provides easy removal and threadsafeness.
Show file Open project: juancampa/Gearset Class Usage Examples

Private Properties

Property Type Description
AddCurve void
AddQuickAction void
Alert void
ClearAll void
ClearInspector void
EnqueueAction void
GS System
Initialize void
Inspect void
Inspect void
Log void
Log void
Log void
Log void
Log void
Plot void
Plot void
RemoveCurve void
RemoveCurveOrGroup void
RemoveInspect void
SameThread bool
SaveLogToFile void
SaveLogToFile void
SetFinderSearchFunction void
SetMatrices void
SetMatrices void
Show void
Show void
ShowBox void
ShowBox void
ShowBox void
ShowBox void
ShowBoxOnce void
ShowBoxOnce void
ShowBoxOnce void
ShowBoxOnce void
ShowLabel void
ShowLabel void
ShowLabel void
ShowLabel void
ShowLabel void
ShowLabel void
ShowLine void
ShowLine void
ShowLine void
ShowLine void
ShowLineOnce void
ShowLineOnce void
ShowLineOnce void
ShowLineOnce void
ShowMark void
ShowMark void
ShowMark void
ShowMark void
ShowSphere void
ShowSphere void
ShowSphere void
ShowSphere void
ShowSphereOnce void
ShowSphereOnce void
ShowSphereOnce void
ShowSphereOnce void
ShowTransform void
ShowTransform void
ShowTransformOnce void
ShowTransformOnce void
ShowVector2 void
ShowVector2 void
ShowVector2Once void
ShowVector2Once void
ShowVector3 void
ShowVector3 void
ShowVector3Once void
ShowVector3Once void
Update void

Private Methods

Method Description
AddCurve ( String name, Microsoft.Xna.Framework.Curve curve ) : void
AddQuickAction ( String name, System.Action action ) : void
Alert ( String message ) : void
ClearAll ( ) : void
ClearInspector ( ) : void
EnqueueAction ( System.Action action ) : void

Wrapper for method execution. It checks if the current calling thread is the same that initialized this class. If not, then the action is queued to be consumed during the update process.

GS ( ) : System
Initialize ( Microsoft.Xna.Framework.Game game ) : void
Inspect ( String name, Object o ) : void
Inspect ( String name, Object o, bool autoExpand ) : void
Log ( String content ) : void
Log ( String streamName, String content ) : void
Log ( String streamName, String format, Object arg0 ) : void
Log ( String streamName, String format, Object arg0, Object arg1 ) : void
Log ( String streamName, String format, Object arg0, Object arg1, Object arg2 ) : void
Plot ( String plotName, float value ) : void
Plot ( String plotName, float value, int historyLength ) : void
RemoveCurve ( Microsoft.Xna.Framework.Curve curve ) : void
RemoveCurveOrGroup ( String name ) : void
RemoveInspect ( Object o ) : void
SameThread ( ) : bool
SaveLogToFile ( ) : void
SaveLogToFile ( string filename ) : void
SetFinderSearchFunction ( SearchFunction searchFunction ) : void
SetMatrices ( Matrix &world, Matrix &view, Matrix &projection ) : void
SetMatrices ( Matrix &world, Matrix &view, Matrix &projection, Matrix &transform2D ) : void
Show ( String key ) : void
Show ( String key, object value ) : void
ShowBox ( String key, Microsoft.Xna.Framework.BoundingBox box ) : void
ShowBox ( String key, Microsoft.Xna.Framework.BoundingBox box, Color color ) : void
ShowBox ( String key, Vector3 min, Vector3 max ) : void
ShowBox ( String key, Vector3 min, Vector3 max, Color color ) : void
ShowBoxOnce ( Microsoft.Xna.Framework.BoundingBox box ) : void
ShowBoxOnce ( Microsoft.Xna.Framework.BoundingBox box, Color color ) : void
ShowBoxOnce ( Vector3 min, Vector3 max ) : void
ShowBoxOnce ( Vector3 min, Vector3 max, Color color ) : void
ShowLabel ( String name, Vector2 position ) : void
ShowLabel ( String name, Vector2 position, String text ) : void
ShowLabel ( String name, Vector2 position, String text, Color color ) : void
ShowLabel ( String name, Vector3 position ) : void
ShowLabel ( String name, Vector3 position, String text ) : void
ShowLabel ( String name, Vector3 position, String text, Color color ) : void
ShowLine ( String key, Vector2 v1, Vector2 v2 ) : void
ShowLine ( String key, Vector2 v1, Vector2 v2, Color color ) : void
ShowLine ( String key, Vector3 v1, Vector3 v2 ) : void
ShowLine ( String key, Vector3 v1, Vector3 v2, Color color ) : void
ShowLineOnce ( Vector2 v1, Vector2 v2 ) : void
ShowLineOnce ( Vector2 v1, Vector2 v2, Color color ) : void
ShowLineOnce ( Vector3 v1, Vector3 v2 ) : void
ShowLineOnce ( Vector3 v1, Vector3 v2, Color color ) : void
ShowMark ( String key, Vector2 position ) : void
ShowMark ( String key, Vector2 position, Color color ) : void
ShowMark ( String key, Vector3 position ) : void
ShowMark ( String key, Vector3 position, Color color ) : void
ShowSphere ( String key, BoundingSphere sphere ) : void
ShowSphere ( String key, BoundingSphere sphere, Color color ) : void
ShowSphere ( String key, Vector3 center, float radius ) : void
ShowSphere ( String key, Vector3 center, float radius, Color color ) : void
ShowSphereOnce ( BoundingSphere sphere ) : void
ShowSphereOnce ( BoundingSphere sphere, Color color ) : void
ShowSphereOnce ( Vector3 center, float radius ) : void
ShowSphereOnce ( Vector3 center, float radius, Color color ) : void
ShowTransform ( String name, Matrix transform ) : void
ShowTransform ( String name, Matrix transform, float axisScale ) : void
ShowTransformOnce ( Matrix transform ) : void
ShowTransformOnce ( Matrix transform, float axisScale ) : void
ShowVector2 ( String name, Vector2 location, Vector2 vector ) : void
ShowVector2 ( String name, Vector2 location, Vector2 vector, Color color ) : void
ShowVector2Once ( Vector2 location, Vector2 vector ) : void
ShowVector2Once ( Vector2 location, Vector2 vector, Color color ) : void
ShowVector3 ( String name, Vector3 location, Vector3 vector ) : void
ShowVector3 ( String name, Vector3 location, Vector3 vector, Color color ) : void
ShowVector3Once ( Vector3 location, Vector3 vector ) : void
ShowVector3Once ( Vector3 location, Vector3 vector, Color color ) : void
Update ( GameTime gameTime ) : void