C# Class TriggerDrawing

Inheritance: MonoBehaviour
Mostrar archivo Open project: leapmotion/ImageGrid

Public Properties

Property Type Description
lineWidth float
minDistanceForNewPoint float

Protected Properties

Property Type Description
current_line_ UnityEngine.LineRenderer
current_line_length_ int
drawing_ bool
grabbed_ Collider
last_draw_position_ Vector3
lines_ List

Public Methods

Method Description
ContinueLine ( Vector3 draw_position ) : void
OnDestroy ( ) : void
Start ( ) : void
StartNewLine ( Vector3 draw_position ) : void
Update ( ) : void

Method Details

ContinueLine() public method

public ContinueLine ( Vector3 draw_position ) : void
draw_position Vector3
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartNewLine() public method

public StartNewLine ( Vector3 draw_position ) : void
draw_position Vector3
return void

Update() public method

public Update ( ) : void
return void

Property Details

current_line_ protected_oe property

protected LineRenderer,UnityEngine current_line_
return UnityEngine.LineRenderer

current_line_length_ protected_oe property

protected int current_line_length_
return int

drawing_ protected_oe property

protected bool drawing_
return bool

grabbed_ protected_oe property

protected Collider grabbed_
return Collider

last_draw_position_ protected_oe property

protected Vector3 last_draw_position_
return Vector3

lineWidth public_oe property

public float lineWidth
return float

lines_ protected_oe property

protected List lines_
return List

minDistanceForNewPoint public_oe property

public float minDistanceForNewPoint
return float