C# Class SSTUTools.ProceduralCylinderModel

Inheritance: ProceduralModel
Datei anzeigen 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_oe property

public UVArea,SSTUTools bottomUV
return UVArea

cylinderSides public_oe property

public int cylinderSides
return int

height public_oe property

public float height
return float

insideUV public_oe property

public UVArea,SSTUTools insideUV
return UVArea

outsideUV public_oe property

public UVArea,SSTUTools outsideUV
return UVArea

radius public_oe property

public float radius
return float

thickness public_oe property

public float thickness
return float

topUV public_oe property

public UVArea,SSTUTools topUV
return UVArea