C# Class SSTUTools.CylinderMeshGenerator

Datei anzeigen Open project: shadowmage45/SSTULabs Class Usage Examples

Public Properties

Property Type Description
bottomUV UVArea
insideUV UVArea
outsideUV UVArea
topUV UVArea

Public Methods

Method Description
CylinderMeshGenerator ( Vector3 offset, int faces, float height, float bottomRadius, float topRadius, float bottomInnerRadius, float topInnerRadius ) : System
generateColliders ( ) : UnityEngine.GameObject[]
generateMesh ( ) : Mesh

Method Details

CylinderMeshGenerator() public method

public CylinderMeshGenerator ( Vector3 offset, int faces, float height, float bottomRadius, float topRadius, float bottomInnerRadius, float topInnerRadius ) : System
offset Vector3
faces int
height float
bottomRadius float
topRadius float
bottomInnerRadius float
topInnerRadius float
return System

generateColliders() public method

public generateColliders ( ) : UnityEngine.GameObject[]
return UnityEngine.GameObject[]

generateMesh() public method

public generateMesh ( ) : Mesh
return UnityEngine.Mesh

Property Details

bottomUV public_oe property

public UVArea,SSTUTools bottomUV
return UVArea

insideUV public_oe property

public UVArea,SSTUTools insideUV
return UVArea

outsideUV public_oe property

public UVArea,SSTUTools outsideUV
return UVArea

topUV public_oe property

public UVArea,SSTUTools topUV
return UVArea