C# Class SSTUTools.ArcMeshGenerator

Mostra file Open project: shadowmage45/SSTULabs Class Usage Examples

Public Properties

Property Type Description
edgesUV UVArea
insideUV UVArea
outsideUV UVArea

Public Methods

Method Description
ArcMeshGenerator ( Vector3 offset, int sides, int panels, float startAngle, float endAngle, float thickness, bool colliders, int facesPerCollider ) : System
addArc ( float height, float radius ) : void
generatePanels ( Transform parent ) : UnityEngine.GameObject[]
generatePanels ( Transform parent, Vector3 pivot ) : UnityEngine.GameObject[]

Private Methods

Method Description
generatePanelGroups ( ) : void

Method Details

ArcMeshGenerator() public method

public ArcMeshGenerator ( Vector3 offset, int sides, int panels, float startAngle, float endAngle, float thickness, bool colliders, int facesPerCollider ) : System
offset Vector3
sides int
panels int
startAngle float
endAngle float
thickness float
colliders bool
facesPerCollider int
return System

addArc() public method

public addArc ( float height, float radius ) : void
height float
radius float
return void

generatePanels() public method

public generatePanels ( Transform parent ) : UnityEngine.GameObject[]
parent UnityEngine.Transform
return UnityEngine.GameObject[]

generatePanels() public method

public generatePanels ( Transform parent, Vector3 pivot ) : UnityEngine.GameObject[]
parent UnityEngine.Transform
pivot Vector3
return UnityEngine.GameObject[]

Property Details

edgesUV public_oe property

public UVArea,SSTUTools edgesUV
return UVArea

insideUV public_oe property

public UVArea,SSTUTools insideUV
return UVArea

outsideUV public_oe property

public UVArea,SSTUTools outsideUV
return UVArea