wHiteRabbiT-sTudio Framework
wHiteRabbiT.UnityEditor.PaintEW Class Reference
Inheritance diagram for wHiteRabbiT.UnityEditor.PaintEW:
wHiteRabbiT.UnityEditor.wHiteRabbiTEW wHiteRabbiT.UnityEditor.PaintMaterialEW

Classes

class  UndoRT
 

Public Types

enum  PaintMode {
  PaintMode.Lerp, PaintMode.Add, PaintMode.Substract, PaintMode.AlphaOnlyAdd,
  PaintMode.AlphaOnlySub, PaintMode.Flow, PaintMode.FlowSoft
}
 
enum  AngleMode { AngleMode.Constant, AngleMode.Random, AngleMode.FollowBrush }
 

Public Member Functions

override void OnDestroy ()
 
virtual void OnSelectionChange ()
 
override void OnGUI ()
 
virtual void GUIColorSelector ()
 

Static Public Member Functions

static void PainterEW ()
 
static void OnSceneGUI (SceneView sceneview)
 

Protected Member Functions

void BeginPaint ()
 
void EndPaint ()
 
- Protected Member Functions inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
void UpdateNews ()
 
GUIStyle StyleColor (Color c)
 

Static Protected Member Functions

static void Paint (bool draw)
 
static void Draw (Vector2 uv, float scale, float pressure, int NoCursor)
 

Protected Attributes

List< Texture2D > brushes
 
Vector2 scrlBrushes = Vector2.zero
 
- Protected Attributes inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
Texture2D logo2D
 
List< NewsXmlnewsXml
 
GUIStyle styleNone
 
GUIStyle styleBasic
 
GUIStyle styleURL
 
bool bPerformUndo
 

Static Protected Attributes

static GameObject actualPaint
 
static SceneView.OnSceneFunc _onSceneGUIFunc
 
static PaintMode Mode
 
static bool IsInEditMode
 
static Texture2D brush
 
static Color color = Color.white
 
static Vector2 Scale = new Vector2(1.0f, 1.0f)
 
static float PressureOpacity = 1
 
static AngleMode angleMode = AngleMode.Random
 
static float GizmoScale = 1.0f
 
static bool UV2 = true
 
static bool UseLightMapTilingOffset
 
static Tool oldTool
 
static bool oldColliderState
 
static Collider oldCollider
 
static Collider paintCollider
 
static int oldLayer
 
static string SpecialName
 
static Vector3 up
 
static Mesh planeMesh
 
static Material mat
 
static Material matPaint
 
static Material matColor
 
static Material matAlphaCompo2
 
static string oldTexturePath
 
static RenderTexture rt
 
static int calibrePressureLevel = 1024
 
static float MaxJumpPixelDist = 100
 
static Vector2 oldUV
 
static Vector2 oldUVangle
 
static float oldScale
 
static float oldPressure
 
static float oldT = float.MinValue
 
static float AngleInit
 
static float angle
 
static bool ResetAngle = false
 
static Vector2 oldDtUV
 
static RenderTexture oldPaintRT
 
- Static Protected Attributes inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
static Vector2 sV
 

Properties

GameObject thisPaint [get]
 
static SceneView.OnSceneFunc onSceneGUIFunc [get]
 
List< Texture2D > Brushes [get]
 
static Mesh PlaneMesh [get]
 
static Material Mat [get]
 
static Material MatPaint [get]
 
static Material MatColor [get]
 
static Material MatAlphaCompo2 [get]
 
static RenderTextureFormat RTFormat [get]
 
static RenderTexture RT [get, set]
 
static float MaxJumpUVDist [get]
 
static float Angle [get]
 
- Properties inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
Texture2D Logo2D [get, set]
 
GUIStyle StyleNone [get]
 
GUIStyle StyleBasic [get]
 
GUIStyle StyleURL [get]
 

Additional Inherited Members

- Public Attributes inherited from wHiteRabbiT.UnityEditor.wHiteRabbiTEW
string news
 

Member Enumeration Documentation

Enumerator
Constant 
Random 
FollowBrush 
Enumerator
Lerp 
Add 
Substract 
AlphaOnlyAdd 
AlphaOnlySub 
Flow 
FlowSoft 

Member Function Documentation

void wHiteRabbiT.UnityEditor.PaintEW.BeginPaint ( )
protected
static void wHiteRabbiT.UnityEditor.PaintEW.Draw ( Vector2  uv,
float  scale,
float  pressure,
int  NoCursor 
)
staticprotected

Use another temporary renderTexture for help compositing of global alpha

void wHiteRabbiT.UnityEditor.PaintEW.EndPaint ( )
protected
virtual void wHiteRabbiT.UnityEditor.PaintEW.GUIColorSelector ( )
virtual
override void wHiteRabbiT.UnityEditor.PaintEW.OnDestroy ( )
virtual
override void wHiteRabbiT.UnityEditor.PaintEW.OnGUI ( )
virtual
static void wHiteRabbiT.UnityEditor.PaintEW.OnSceneGUI ( SceneView  sceneview)
static
virtual void wHiteRabbiT.UnityEditor.PaintEW.OnSelectionChange ( )
virtual
static void wHiteRabbiT.UnityEditor.PaintEW.Paint ( bool  draw)
staticprotected
static void wHiteRabbiT.UnityEditor.PaintEW.PainterEW ( )
static

Member Data Documentation

SceneView.OnSceneFunc wHiteRabbiT.UnityEditor.PaintEW._onSceneGUIFunc
staticprotected
GameObject wHiteRabbiT.UnityEditor.PaintEW.actualPaint
staticprotected
float wHiteRabbiT.UnityEditor.PaintEW.angle
staticprotected
float wHiteRabbiT.UnityEditor.PaintEW.AngleInit
staticprotected
AngleMode wHiteRabbiT.UnityEditor.PaintEW.angleMode = AngleMode.Random
staticprotected
Texture2D wHiteRabbiT.UnityEditor.PaintEW.brush
staticprotected
List<Texture2D> wHiteRabbiT.UnityEditor.PaintEW.brushes
protected
int wHiteRabbiT.UnityEditor.PaintEW.calibrePressureLevel = 1024
staticprotected
Color wHiteRabbiT.UnityEditor.PaintEW.color = Color.white
staticprotected
float wHiteRabbiT.UnityEditor.PaintEW.GizmoScale = 1.0f
staticprotected
bool wHiteRabbiT.UnityEditor.PaintEW.IsInEditMode
staticprotected
Material wHiteRabbiT.UnityEditor.PaintEW.mat
staticprotected
Material wHiteRabbiT.UnityEditor.PaintEW.matAlphaCompo2
staticprotected
Material wHiteRabbiT.UnityEditor.PaintEW.matColor
staticprotected
Material wHiteRabbiT.UnityEditor.PaintEW.matPaint
staticprotected
float wHiteRabbiT.UnityEditor.PaintEW.MaxJumpPixelDist = 100
staticprotected
PaintMode wHiteRabbiT.UnityEditor.PaintEW.Mode
staticprotected
Collider wHiteRabbiT.UnityEditor.PaintEW.oldCollider
staticprotected
bool wHiteRabbiT.UnityEditor.PaintEW.oldColliderState
staticprotected
Vector2 wHiteRabbiT.UnityEditor.PaintEW.oldDtUV
staticprotected
int wHiteRabbiT.UnityEditor.PaintEW.oldLayer
staticprotected
RenderTexture wHiteRabbiT.UnityEditor.PaintEW.oldPaintRT
staticprotected
float wHiteRabbiT.UnityEditor.PaintEW.oldPressure
staticprotected
float wHiteRabbiT.UnityEditor.PaintEW.oldScale
staticprotected
float wHiteRabbiT.UnityEditor.PaintEW.oldT = float.MinValue
staticprotected
string wHiteRabbiT.UnityEditor.PaintEW.oldTexturePath
staticprotected
Tool wHiteRabbiT.UnityEditor.PaintEW.oldTool
staticprotected
Vector2 wHiteRabbiT.UnityEditor.PaintEW.oldUV
staticprotected
Vector2 wHiteRabbiT.UnityEditor.PaintEW.oldUVangle
staticprotected
Collider wHiteRabbiT.UnityEditor.PaintEW.paintCollider
staticprotected
Mesh wHiteRabbiT.UnityEditor.PaintEW.planeMesh
staticprotected
float wHiteRabbiT.UnityEditor.PaintEW.PressureOpacity = 1
staticprotected
bool wHiteRabbiT.UnityEditor.PaintEW.ResetAngle = false
staticprotected
RenderTexture wHiteRabbiT.UnityEditor.PaintEW.rt
staticprotected
Vector2 wHiteRabbiT.UnityEditor.PaintEW.Scale = new Vector2(1.0f, 1.0f)
staticprotected
Vector2 wHiteRabbiT.UnityEditor.PaintEW.scrlBrushes = Vector2.zero
protected
string wHiteRabbiT.UnityEditor.PaintEW.SpecialName
staticprotected
Vector3 wHiteRabbiT.UnityEditor.PaintEW.up
staticprotected
bool wHiteRabbiT.UnityEditor.PaintEW.UseLightMapTilingOffset
staticprotected
bool wHiteRabbiT.UnityEditor.PaintEW.UV2 = true
staticprotected

Property Documentation

float wHiteRabbiT.UnityEditor.PaintEW.Angle
staticgetprotected
List<Texture2D> wHiteRabbiT.UnityEditor.PaintEW.Brushes
getprotected
Material wHiteRabbiT.UnityEditor.PaintEW.Mat
staticgetprotected
Material wHiteRabbiT.UnityEditor.PaintEW.MatAlphaCompo2
staticgetprotected
Material wHiteRabbiT.UnityEditor.PaintEW.MatColor
staticgetprotected
Material wHiteRabbiT.UnityEditor.PaintEW.MatPaint
staticgetprotected
float wHiteRabbiT.UnityEditor.PaintEW.MaxJumpUVDist
staticgetprotected
SceneView.OnSceneFunc wHiteRabbiT.UnityEditor.PaintEW.onSceneGUIFunc
staticgetprotected
Mesh wHiteRabbiT.UnityEditor.PaintEW.PlaneMesh
staticgetprotected
RenderTexture wHiteRabbiT.UnityEditor.PaintEW.RT
staticgetsetprotected
RenderTextureFormat wHiteRabbiT.UnityEditor.PaintEW.RTFormat
staticget
GameObject wHiteRabbiT.UnityEditor.PaintEW.thisPaint
getprotected

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