C# Class JBooth.VertexPainterPro.VertexPainterWindow

Inheritance: EditorWindow
Afficher le fichier Open project: slipster216/VertexPaint Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CalculateMeshTangents ( Mesh mesh ) : void
mesh UnityEngine.Mesh
Résultat void

ConstrainAxis() public méthode

public ConstrainAxis ( Vector3 &cur, Vector3 orig ) : void
cur UnityEngine.Vector3
orig UnityEngine.Vector3
Résultat void

DrawVertexPoints() public méthode

public DrawVertexPoints ( PaintJob j, Vector3 point ) : void
j PaintJob
point UnityEngine.Vector3
Résultat void

EndStroke() public méthode

public EndStroke ( ) : void
Résultat void

FillMesh() public méthode

public FillMesh ( PaintJob job ) : void
job PaintJob
Résultat void

GetBrushValue() public méthode

public GetBrushValue ( ) : object
Résultat object

GetLerper() public méthode

public GetLerper ( ) : Lerper
Résultat Lerper

GetMultiplier() public méthode

public GetMultiplier ( ) : Multiplier
Résultat Multiplier

InitColors() public méthode

public InitColors ( PaintJob j ) : void
j PaintJob
Résultat void

InitMeshes() public méthode

public InitMeshes ( ) : void
Résultat void

InitNormalTangent() public méthode

public InitNormalTangent ( PaintJob j ) : void
j PaintJob
Résultat void

InitPositions() public méthode

public InitPositions ( PaintJob j ) : void
j PaintJob
Résultat void

InitUV0() public méthode

public InitUV0 ( PaintJob j ) : void
j PaintJob
Résultat void

InitUV1() public méthode

public InitUV1 ( PaintJob j ) : void
j PaintJob
Résultat void

InitUV2() public méthode

public InitUV2 ( PaintJob j ) : void
j PaintJob
Résultat void

InitUV3() public méthode

public InitUV3 ( PaintJob j ) : void
j PaintJob
Résultat void

OnSceneGUI() public méthode

public OnSceneGUI ( SceneView sceneView ) : void
sceneView UnityEditor.SceneView
Résultat void

OnUndo() public méthode

public OnUndo ( ) : void
Résultat void

PaintMesh() public méthode

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

PaintVertPosition() public méthode

public PaintVertPosition ( PaintJob j, int i, float strength ) : void
j PaintJob
i int
strength float
Résultat void

PrepBrushMode() public méthode

public PrepBrushMode ( PaintJob j ) : void
j PaintJob
Résultat void

RandomMesh() public méthode

public RandomMesh ( PaintJob job ) : void
job PaintJob
Résultat void

RevertMat() public méthode

public RevertMat ( ) : void
Résultat void

UpdateDisplayMode() public méthode

public UpdateDisplayMode ( bool endPainting = true ) : void
endPainting bool
Résultat void

Property Details

brushColor public_oe property

public Color brushColor
Résultat Color

brushColorMode public_oe property

public BrushColorMode brushColorMode
Résultat BrushColorMode

brushFalloff public_oe property

public float brushFalloff
Résultat float

brushFlow public_oe property

public float brushFlow
Résultat float

brushMode public_oe property

public BrushTarget brushMode
Résultat BrushTarget

brushSize public_oe property

public float brushSize
Résultat float

brushValue public_oe property

public int brushValue
Résultat int

brushVisualization public_oe property

public BrushVisualization brushVisualization
Résultat BrushVisualization

customBrush public_oe property

public VertexPainterCustomBrush customBrush
Résultat VertexPainterCustomBrush

enabled public_oe property

public bool enabled
Résultat bool

floatBrushValue public_oe property

public float floatBrushValue
Résultat float

flowBrushType public_oe property

public FlowBrushType flowBrushType
Résultat FlowBrushType

flowRemap01 public_oe property

public bool flowRemap01
Résultat bool

flowTarget public_oe property

public FlowTarget flowTarget
Résultat FlowTarget

flowVisualization public_oe property

public FlowVisualization flowVisualization
Résultat FlowVisualization

jobEdits public_oe property

public bool[] jobEdits
Résultat bool[]

jobs public_oe property

public PaintJob[] jobs
Résultat PaintJob[]

oldpos public_oe property

public Vector3 oldpos
Résultat Vector3

pull public_oe property

public bool pull
Résultat bool

showVertexPoints public_oe property

public bool showVertexPoints
Résultat bool

showVertexShader public_oe property

public bool showVertexShader
Résultat bool

uvVisualizationRange public_oe property

public Vector2 uvVisualizationRange
Résultat Vector2

vertexContraint public_oe property

public VertexContraint vertexContraint
Résultat VertexContraint

vertexMode public_oe property

public VertexMode vertexMode
Résultat VertexMode