C# Class SSTUTools.ProceduralCylinderModel

Inheritance: ProceduralModel
Show file Open project: shadowmage45/SSTULabs Class Usage Examples

Public Properties

Property Type Description
bottomUV UVArea
cylinderSides int
height float
insideUV UVArea
outsideUV UVArea
radius float
thickness float
topUV UVArea

Public Methods

Method Description
setModelParameters ( float radius, float height, float thickness, int cylinderSides, bool convex ) : void

Protected Methods

Method Description
generateModel ( GameObject root ) : void

Method Details

generateModel() protected method

protected generateModel ( GameObject root ) : void
root UnityEngine.GameObject
return void

setModelParameters() public method

public setModelParameters ( float radius, float height, float thickness, int cylinderSides, bool convex ) : void
radius float
height float
thickness float
cylinderSides int
convex bool
return void

Property Details

bottomUV public property

public UVArea,SSTUTools bottomUV
return UVArea

cylinderSides public property

public int cylinderSides
return int

height public property

public float height
return float

insideUV public property

public UVArea,SSTUTools insideUV
return UVArea

outsideUV public property

public UVArea,SSTUTools outsideUV
return UVArea

radius public property

public float radius
return float

thickness public property

public float thickness
return float

topUV public property

public UVArea,SSTUTools topUV
return UVArea