Show / Hide Table of Contents

Class RingLoop

Inheritance
Object
RingLoop
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
public class RingLoop

Fields

| Improve this Doc View Source

baseOffset

Declaration
public float baseOffset
Field Value
Type Description
Single
| Improve this Doc View Source

radius

Declaration
public float radius
Field Value
Type Description
Single

Methods

| Improve this Doc View Source

BuildVertices(List<TreeVertex>)

Declaration
public void BuildVertices(List<TreeVertex> verts)
Parameters
Type Name Description
List<TreeVertex> verts
| Improve this Doc View Source

Cap(Single, Single, Int32, Single, List<TreeVertex>, List<TreeTriangle>, Int32)

Declaration
public void Cap(float sphereFactor, float noise, int mappingMode, float mappingScale, List<TreeVertex> verts, List<TreeTriangle> tris, int materialIndex)
Parameters
Type Name Description
Single sphereFactor
Single noise
Int32 mappingMode
Single mappingScale
List<TreeVertex> verts
List<TreeTriangle> tris
Int32 materialIndex
| Improve this Doc View Source

Clone()

Declaration
public RingLoop Clone()
Returns
Type Description
RingLoop
| Improve this Doc View Source

Connect(RingLoop, List<TreeTriangle>, Int32, Boolean, Boolean)

Declaration
public void Connect(RingLoop other, List<TreeTriangle> tris, int materialIndex, bool flipTris, bool lowres)
Parameters
Type Name Description
RingLoop other
List<TreeTriangle> tris
Int32 materialIndex
Boolean flipTris
Boolean lowres
| Improve this Doc View Source

Reset(Single, Matrix4x4, Single, Int32)

Declaration
public void Reset(float r, Matrix4x4 m, float bOffset, int segs)
Parameters
Type Name Description
Single r
Matrix4x4 m
Single bOffset
Int32 segs
| Improve this Doc View Source

SetAnimationProperties(Single, Single, Single, Single)

Declaration
public void SetAnimationProperties(float primaryFactor, float secondaryFactor, float edgeFactor, float phase)
Parameters
Type Name Description
Single primaryFactor
Single secondaryFactor
Single edgeFactor
Single phase
| Improve this Doc View Source

SetFlares(Single, Single)

Declaration
public void SetFlares(float radius, float noise)
Parameters
Type Name Description
Single radius
Single noise
| Improve this Doc View Source

SetNoise(Single, Single, Single)

Declaration
public void SetNoise(float scale, float scaleU, float scaleV)
Parameters
Type Name Description
Single scale
Single scaleU
Single scaleV
| Improve this Doc View Source

SetNoiseSeed(Int32)

Declaration
public static void SetNoiseSeed(int seed)
Parameters
Type Name Description
Int32 seed
| Improve this Doc View Source

SetSpread(Single, Single)

Declaration
public void SetSpread(float top, float bottom)
Parameters
Type Name Description
Single top
Single bottom
| Improve this Doc View Source

SetSurfaceAngle(Single)

Declaration
public void SetSurfaceAngle(float angleDeg)
Parameters
Type Name Description
Single angleDeg

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