C# Class Curves.CurvedMesh

Mostra file Open project: TomBBonin/UnityHelpers

Public Properties

Property Type Description
Material UnityEngine.Material
Obj UnityEngine.GameObject
View CurvedMeshView
ViewObj UnityEngine.GameObject

Public Methods

Method Description
CurvedMesh ( Curve curve, Material mat, Transform parent = null ) : UnityEngine
Draw ( ) : void
Rebuild ( ) : void

Protected Methods

Method Description
CalculateMeshTangents ( Mesh mesh ) : void
CreateView ( Material mat ) : void
GetCurvedMesh ( ) : Mesh

Method Details

CalculateMeshTangents() protected method

protected CalculateMeshTangents ( Mesh mesh ) : void
mesh UnityEngine.Mesh
return void

CreateView() protected method

protected CreateView ( Material mat ) : void
mat UnityEngine.Material
return void

CurvedMesh() public method

public CurvedMesh ( Curve curve, Material mat, Transform parent = null ) : UnityEngine
curve Curve
mat UnityEngine.Material
parent UnityEngine.Transform
return UnityEngine

Draw() public method

public Draw ( ) : void
return void

GetCurvedMesh() protected method

protected GetCurvedMesh ( ) : Mesh
return UnityEngine.Mesh

Rebuild() public method

public Rebuild ( ) : void
return void

Property Details

Material public_oe property

public Material,UnityEngine Material
return UnityEngine.Material

Obj public_oe property

public GameObject,UnityEngine Obj
return UnityEngine.GameObject

View public_oe property

public CurvedMeshView,Curves View
return CurvedMeshView

ViewObj public_oe property

public GameObject,UnityEngine ViewObj
return UnityEngine.GameObject