C# Class JBooth.VertexPainterPro.VertexPainterWindow

Inheritance: EditorWindow
Exibir arquivo Open project: slipster216/VertexPaint Class Usage Examples

Public Properties

Property Type Description
brushColor Color
brushColorMode BrushColorMode
brushFalloff float
brushFlow float
brushMode BrushTarget
brushSize float
brushValue int
brushVisualization BrushVisualization
customBrush VertexPainterCustomBrush
enabled bool
floatBrushValue float
flowBrushType FlowBrushType
flowRemap01 bool
flowTarget FlowTarget
flowVisualization FlowVisualization
jobEdits bool[]
jobs PaintJob[]
oldpos Vector3
pull bool
showVertexPoints bool
showVertexShader bool
uvVisualizationRange Vector2
vertexContraint VertexContraint
vertexMode VertexMode

Public Methods

Method Description
CalculateMeshTangents ( Mesh mesh ) : void
ConstrainAxis ( Vector3 &cur, Vector3 orig ) : void
DrawVertexPoints ( PaintJob j, Vector3 point ) : void
EndStroke ( ) : void
FillMesh ( PaintJob job ) : void
GetBrushValue ( ) : object
GetLerper ( ) : Lerper
GetMultiplier ( ) : Multiplier
InitColors ( PaintJob j ) : void
InitMeshes ( ) : void
InitNormalTangent ( PaintJob j ) : void
InitPositions ( PaintJob j ) : void
InitUV0 ( PaintJob j ) : void
InitUV1 ( PaintJob j ) : void
InitUV2 ( PaintJob j ) : void
InitUV3 ( PaintJob j ) : void
OnSceneGUI ( SceneView sceneView ) : void
OnUndo ( ) : void
PaintMesh ( PaintJob j, Vector3 point, Lerper lerper, object value ) : void
PaintVertPosition ( PaintJob j, int i, float strength ) : void
PrepBrushMode ( PaintJob j ) : void
RandomMesh ( PaintJob job ) : void
RevertMat ( ) : void
UpdateDisplayMode ( bool endPainting = true ) : void

Private Methods

Method Description
ColorA ( PaintJob j, int idx, object &v, float r ) : void
ColorB ( PaintJob j, int idx, object &v, float r ) : void
ColorG ( PaintJob j, int idx, object &v, float r ) : void
ColorR ( PaintJob j, int idx, object &v, float r ) : void
ColorRGBA ( PaintJob j, int idx, object &v, float r ) : void
ColorRGBADarken ( PaintJob j, int idx, object &v, float r ) : void
ColorRGBADesaturate ( PaintJob j, int idx, object &v, float r ) : void
ColorRGBALighten ( PaintJob j, int idx, object &v, float r ) : void
ColorRGBAOverlay ( PaintJob j, int idx, object &v, float r ) : void
ColorRGBASaturate ( PaintJob j, int idx, object &v, float r ) : void
DrawBrushSettingsGUI ( ) : void
DrawChannelGUI ( ) : void
DrawClearButton ( string label ) : bool
DrawCustomGUI ( ) : void
DrawDeformGUI ( ) : void
DrawFlowGUI ( ) : void
DrawPaintGUI ( ) : void
DrawRollup ( string text, bool defaultState = true ) : bool
DrawUtilityGUI ( ) : void
FlowColorBA ( PaintJob j, int idx, object &v, float r ) : void
FlowColorRG ( PaintJob j, int idx, object &v, float r ) : void
FlowUV0_XY ( PaintJob j, int idx, object &v, float r ) : void
FlowUV0_ZW ( PaintJob j, int idx, object &v, float r ) : void
FlowUV1_XY ( PaintJob j, int idx, object &v, float r ) : void
FlowUV1_ZW ( PaintJob j, int idx, object &v, float r ) : void
FlowUV2_XY ( PaintJob j, int idx, object &v, float r ) : void
FlowUV2_ZW ( PaintJob j, int idx, object &v, float r ) : void
FlowUV3_XY ( PaintJob j, int idx, object &v, float r ) : void
FlowUV3_ZW ( PaintJob j, int idx, object &v, float r ) : void
InitPluginUtilities ( ) : void
OnDestroy ( ) : void
OnFocus ( ) : void
OnGUI ( ) : void
OnInspectorUpdate ( ) : void
OnSelectionChange ( ) : void
UV0_AsColor ( PaintJob j, int idx, object &v, float r ) : void
UV0_AsColorRGBADarken ( PaintJob j, int idx, object &v, float r ) : void
UV0_AsColorRGBADesaturate ( PaintJob j, int idx, object &v, float r ) : void
UV0_AsColorRGBALighten ( PaintJob j, int idx, object &v, float r ) : void
UV0_AsColorRGBAOverlay ( PaintJob j, int idx, object &v, float r ) : void
UV0_AsColorRGBASaturate ( PaintJob j, int idx, object &v, float r ) : void
UV0_W ( PaintJob j, int idx, object &v, float r ) : void
UV0_X ( PaintJob j, int idx, object &v, float r ) : void
UV0_Y ( PaintJob j, int idx, object &v, float r ) : void
UV0_Z ( PaintJob j, int idx, object &v, float r ) : void
UV1_AsColor ( PaintJob j, int idx, object &v, float r ) : void
UV1_AsColorRGBADarken ( PaintJob j, int idx, object &v, float r ) : void
UV1_AsColorRGBADesaturate ( PaintJob j, int idx, object &v, float r ) : void
UV1_AsColorRGBALighten ( PaintJob j, int idx, object &v, float r ) : void
UV1_AsColorRGBAOverlay ( PaintJob j, int idx, object &v, float r ) : void
UV1_AsColorRGBASaturate ( PaintJob j, int idx, object &v, float r ) : void
UV1_W ( PaintJob j, int idx, object &v, float r ) : void
UV1_X ( PaintJob j, int idx, object &v, float r ) : void
UV1_Y ( PaintJob j, int idx, object &v, float r ) : void
UV1_Z ( PaintJob j, int idx, object &v, float r ) : void
UV2_AsColor ( PaintJob j, int idx, object &v, float r ) : void
UV2_AsColorRGBADarken ( PaintJob j, int idx, object &v, float r ) : void
UV2_AsColorRGBADesaturate ( PaintJob j, int idx, object &v, float r ) : void
UV2_AsColorRGBALighten ( PaintJob j, int idx, object &v, float r ) : void
UV2_AsColorRGBAOverlay ( PaintJob j, int idx, object &v, float r ) : void
UV2_AsColorRGBASaturate ( PaintJob j, int idx, object &v, float r ) : void
UV2_W ( PaintJob j, int idx, object &v, float r ) : void
UV2_X ( PaintJob j, int idx, object &v, float r ) : void
UV2_Y ( PaintJob j, int idx, object &v, float r ) : void
UV2_Z ( PaintJob j, int idx, object &v, float r ) : void
UV3_AsColor ( PaintJob j, int idx, object &v, float r ) : void
UV3_AsColorRGBADarken ( PaintJob j, int idx, object &v, float r ) : void
UV3_AsColorRGBADesaturate ( PaintJob j, int idx, object &v, float r ) : void
UV3_AsColorRGBALighten ( PaintJob j, int idx, object &v, float r ) : void
UV3_AsColorRGBAOverlay ( PaintJob j, int idx, object &v, float r ) : void
UV3_AsColorRGBASaturate ( PaintJob j, int idx, object &v, float r ) : void
UV3_W ( PaintJob j, int idx, object &v, float r ) : void
UV3_X ( PaintJob j, int idx, object &v, float r ) : void
UV3_Y ( PaintJob j, int idx, object &v, float r ) : void
UV3_Z ( PaintJob j, int idx, object &v, float r ) : void

Method Details

CalculateMeshTangents() public method

public CalculateMeshTangents ( Mesh mesh ) : void
mesh UnityEngine.Mesh
return void

ConstrainAxis() public method

public ConstrainAxis ( Vector3 &cur, Vector3 orig ) : void
cur UnityEngine.Vector3
orig UnityEngine.Vector3
return void

DrawVertexPoints() public method

public DrawVertexPoints ( PaintJob j, Vector3 point ) : void
j PaintJob
point UnityEngine.Vector3
return void

EndStroke() public method

public EndStroke ( ) : void
return void

FillMesh() public method

public FillMesh ( PaintJob job ) : void
job PaintJob
return void

GetBrushValue() public method

public GetBrushValue ( ) : object
return object

GetLerper() public method

public GetLerper ( ) : Lerper
return Lerper

GetMultiplier() public method

public GetMultiplier ( ) : Multiplier
return Multiplier

InitColors() public method

public InitColors ( PaintJob j ) : void
j PaintJob
return void

InitMeshes() public method

public InitMeshes ( ) : void
return void

InitNormalTangent() public method

public InitNormalTangent ( PaintJob j ) : void
j PaintJob
return void

InitPositions() public method

public InitPositions ( PaintJob j ) : void
j PaintJob
return void

InitUV0() public method

public InitUV0 ( PaintJob j ) : void
j PaintJob
return void

InitUV1() public method

public InitUV1 ( PaintJob j ) : void
j PaintJob
return void

InitUV2() public method

public InitUV2 ( PaintJob j ) : void
j PaintJob
return void

InitUV3() public method

public InitUV3 ( PaintJob j ) : void
j PaintJob
return void

OnSceneGUI() public method

public OnSceneGUI ( SceneView sceneView ) : void
sceneView UnityEditor.SceneView
return void

OnUndo() public method

public OnUndo ( ) : void
return void

PaintMesh() public method

public PaintMesh ( PaintJob j, Vector3 point, Lerper lerper, object value ) : void
j PaintJob
point UnityEngine.Vector3
lerper Lerper
value object
return void

PaintVertPosition() public method

public PaintVertPosition ( PaintJob j, int i, float strength ) : void
j PaintJob
i int
strength float
return void

PrepBrushMode() public method

public PrepBrushMode ( PaintJob j ) : void
j PaintJob
return void

RandomMesh() public method

public RandomMesh ( PaintJob job ) : void
job PaintJob
return void

RevertMat() public method

public RevertMat ( ) : void
return void

UpdateDisplayMode() public method

public UpdateDisplayMode ( bool endPainting = true ) : void
endPainting bool
return void

Property Details

brushColor public_oe property

public Color brushColor
return Color

brushColorMode public_oe property

public BrushColorMode brushColorMode
return BrushColorMode

brushFalloff public_oe property

public float brushFalloff
return float

brushFlow public_oe property

public float brushFlow
return float

brushMode public_oe property

public BrushTarget brushMode
return BrushTarget

brushSize public_oe property

public float brushSize
return float

brushValue public_oe property

public int brushValue
return int

brushVisualization public_oe property

public BrushVisualization brushVisualization
return BrushVisualization

customBrush public_oe property

public VertexPainterCustomBrush customBrush
return VertexPainterCustomBrush

enabled public_oe property

public bool enabled
return bool

floatBrushValue public_oe property

public float floatBrushValue
return float

flowBrushType public_oe property

public FlowBrushType flowBrushType
return FlowBrushType

flowRemap01 public_oe property

public bool flowRemap01
return bool

flowTarget public_oe property

public FlowTarget flowTarget
return FlowTarget

flowVisualization public_oe property

public FlowVisualization flowVisualization
return FlowVisualization

jobEdits public_oe property

public bool[] jobEdits
return bool[]

jobs public_oe property

public PaintJob[] jobs
return PaintJob[]

oldpos public_oe property

public Vector3 oldpos
return Vector3

pull public_oe property

public bool pull
return bool

showVertexPoints public_oe property

public bool showVertexPoints
return bool

showVertexShader public_oe property

public bool showVertexShader
return bool

uvVisualizationRange public_oe property

public Vector2 uvVisualizationRange
return Vector2

vertexContraint public_oe property

public VertexContraint vertexContraint
return VertexContraint

vertexMode public_oe property

public VertexMode vertexMode
return VertexMode