Show / Hide Table of Contents

Class TreeSpline

Inheritance
Object
TreeSpline
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: TreeEditor
Assembly: UnityEditor.dll
Syntax
[Serializable]
public class TreeSpline

Constructors

| Improve this Doc View Source

TreeSpline()

Declaration
public TreeSpline()
| Improve this Doc View Source

TreeSpline(TreeSpline)

Declaration
public TreeSpline(TreeSpline o)
Parameters
Type Name Description
TreeSpline o

Fields

| Improve this Doc View Source

nodes

Declaration
public SplineNode[] nodes
Field Value
Type Description
SplineNode[]
| Improve this Doc View Source

tension

Declaration
public float tension
Field Value
Type Description
Single

Methods

| Improve this Doc View Source

AddPoint(Vector3, Single)

Declaration
public void AddPoint(Vector3 pos, float timeInSeconds)
Parameters
Type Name Description
Vector3 pos
Single timeInSeconds
| Improve this Doc View Source

GetApproximateLength()

Declaration
public float GetApproximateLength()
Returns
Type Description
Single
| Improve this Doc View Source

GetNodeCount()

Declaration
public int GetNodeCount()
Returns
Type Description
Int32
| Improve this Doc View Source

GetNodes()

Declaration
public SplineNode[] GetNodes()
Returns
Type Description
SplineNode[]
| Improve this Doc View Source

GetPositionAtTime(Single)

Declaration
public Vector3 GetPositionAtTime(float timeParam)
Parameters
Type Name Description
Single timeParam
Returns
Type Description
Vector3
| Improve this Doc View Source

GetRotationAtTime(Single)

Declaration
public Quaternion GetRotationAtTime(float timeParam)
Parameters
Type Name Description
Single timeParam
Returns
Type Description
Quaternion
| Improve this Doc View Source

RemoveNode(Int32)

Declaration
public void RemoveNode(int c)
Parameters
Type Name Description
Int32 c
| Improve this Doc View Source

Reset()

Declaration
public void Reset()
| Improve this Doc View Source

SetNodeCount(Int32)

Declaration
public void SetNodeCount(int c)
Parameters
Type Name Description
Int32 c
| Improve this Doc View Source

UpdateRotations()

Declaration
public void UpdateRotations()
| Improve this Doc View Source

UpdateTime()

Declaration
public void UpdateTime()

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX