C# Class Pathfinding.SimpleSmoothModifier

Inheritance: MonoModifier
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
bezierTangentLength float
factor float
iterations int
maxSegmentLength float
offset float
smoothType SmoothType
strength float
subdivisions int
uniformLength bool

Méthodes publiques

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

Méthode Description
AddComp ( UnityEditor command ) : void

Method Details

Apply() public méthode

public Apply ( Path p, ModifierData source ) : void
p Path
source ModifierData
Résultat void

CurvedNonuniform() public méthode

public CurvedNonuniform ( List path ) : List
path List
Résultat List

GetPointOnCubic() public static méthode

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
Résultat UnityEngine.Vector3

SmoothBezier() public méthode

public SmoothBezier ( List path ) : List
path List
Résultat List

SmoothOffsetSimple() public méthode

public SmoothOffsetSimple ( List path ) : List
path List
Résultat List

SmoothSimple() public méthode

public SmoothSimple ( List path ) : List
path List
Résultat List

Property Details

bezierTangentLength public_oe property

public float bezierTangentLength
Résultat float

factor public_oe property

public float factor
Résultat float

iterations public_oe property

public int iterations
Résultat int

maxSegmentLength public_oe property

public float maxSegmentLength
Résultat float

offset public_oe property

public float offset
Résultat float

smoothType public_oe property

public SmoothType smoothType
Résultat SmoothType

strength public_oe property

public float strength
Résultat float

subdivisions public_oe property

public int subdivisions
Résultat int

uniformLength public_oe property

public bool uniformLength
Résultat bool