C# Class Pathfinding.SimpleSmoothModifier

Inheritance: MonoModifier
Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
bezierTangentLength float
factor float
iterations int
maxSegmentLength float
offset float
smoothType SmoothType
strength float
subdivisions int
uniformLength bool

Public Methods

Method Description
Apply ( Path p, ModifierData source ) : void
CurvedNonuniform ( List path ) : List
GetPointOnCubic ( Vector3 a, Vector3 b, Vector3 tan1, Vector3 tan2, float t ) : Vector3
SmoothBezier ( List path ) : List
SmoothOffsetSimple ( List path ) : List
SmoothSimple ( List path ) : List

Private Methods

Method Description
AddComp ( UnityEditor command ) : void

Method Details

Apply() public method

public Apply ( Path p, ModifierData source ) : void
p Path
source ModifierData
return void

CurvedNonuniform() public method

public CurvedNonuniform ( List path ) : List
path List
return List

GetPointOnCubic() public static method

public static GetPointOnCubic ( Vector3 a, Vector3 b, Vector3 tan1, Vector3 tan2, float t ) : Vector3
a UnityEngine.Vector3
b UnityEngine.Vector3
tan1 UnityEngine.Vector3
tan2 UnityEngine.Vector3
t float
return UnityEngine.Vector3

SmoothBezier() public method

public SmoothBezier ( List path ) : List
path List
return List

SmoothOffsetSimple() public method

public SmoothOffsetSimple ( List path ) : List
path List
return List

SmoothSimple() public method

public SmoothSimple ( List path ) : List
path List
return List

Property Details

bezierTangentLength public_oe property

public float bezierTangentLength
return float

factor public_oe property

public float factor
return float

iterations public_oe property

public int iterations
return int

maxSegmentLength public_oe property

public float maxSegmentLength
return float

offset public_oe property

public float offset
return float

smoothType public_oe property

public SmoothType smoothType
return SmoothType

strength public_oe property

public float strength
return float

subdivisions public_oe property

public int subdivisions
return int

uniformLength public_oe property

public bool uniformLength
return bool