C# Class LineDrawer.Line

显示文件 Open project: Microsoft/HoloToolkit-Unity

Public Properties

Property Type Description
c0 Color
c1 Color
isValid bool
lineWidth float
p0 Vector3
p1 Vector3

Public Methods

Method Description
Line ( ) : UnityEngine
Line ( Vector3 _p0, Vector3 _p1, Color _c0, Color _c1, float _lineWidth = DefaultLineWidth ) : UnityEngine
Set_IfDifferent ( Vector3 _p0, Vector3 _p1, Color _c0, Color _c1, float _lineWidth ) : bool

Method Details

Line() public method

public Line ( ) : UnityEngine
return UnityEngine

Line() public method

public Line ( Vector3 _p0, Vector3 _p1, Color _c0, Color _c1, float _lineWidth = DefaultLineWidth ) : UnityEngine
_p0 Vector3
_p1 Vector3
_c0 Color
_c1 Color
_lineWidth float
return UnityEngine

Set_IfDifferent() public method

public Set_IfDifferent ( Vector3 _p0, Vector3 _p1, Color _c0, Color _c1, float _lineWidth ) : bool
_p0 Vector3
_p1 Vector3
_c0 Color
_c1 Color
_lineWidth float
return bool

Property Details

c0 public_oe property

public Color c0
return Color

c1 public_oe property

public Color c1
return Color

isValid public_oe property

public bool isValid
return bool

lineWidth public_oe property

public float lineWidth
return float

p0 public_oe property

public Vector3 p0
return Vector3

p1 public_oe property

public Vector3 p1
return Vector3