API reference
API reference
Select your platform
No SDKs available
No versions available

SkinnedRoundedBoxMesh Class

Extends MonoBehaviour

Fields

generateOnStart : bool
Signature
bool SkinnedRoundedBoxMesh.generateOnStart

Methods

GenerateMeshFromMenu ()
Signature
void SkinnedRoundedBoxMesh.GenerateMeshFromMenu()
Returns
void

Static Methods

GenerateArcPath ( startAngle , endAngle , steps , radius , closed )
Signature
static Vector2[] SkinnedRoundedBoxMesh.GenerateArcPath(float startAngle, float endAngle, int steps, float radius, bool closed)
Parameters
startAngle: float
endAngle: float
steps: int
radius: float
closed: bool
Returns
Vector2[]
GenerateCylinderAroundPath ( path , cylinderFaceCount , cylinderRadius )
Signature
static Vector3[] SkinnedRoundedBoxMesh.GenerateCylinderAroundPath(List< Vector2 > path, int cylinderFaceCount, float cylinderRadius)
Parameters
path: List< Vector2 >
cylinderFaceCount: int
cylinderRadius: float
Returns
Vector3[]
GenerateCylinderIndices ( cornerSegmentCount , cylinderFaceCount )
Signature
static int[] SkinnedRoundedBoxMesh.GenerateCylinderIndices(int cornerSegmentCount, int cylinderFaceCount)
Parameters
cornerSegmentCount: int
cylinderFaceCount: int
Returns
int[]
GenerateMesh ( cornerSegmentCount , borderRadius , cylinderFaceCount , cylinderRadius , skinnedMeshRenderer , topLeft , topRight , bottomLeft , bottomRight )
Signature
static void SkinnedRoundedBoxMesh.GenerateMesh(int cornerSegmentCount, float borderRadius, int cylinderFaceCount, float cylinderRadius, SkinnedMeshRenderer skinnedMeshRenderer, Transform topLeft, Transform topRight, Transform bottomLeft, Transform bottomRight)
Parameters
cornerSegmentCount: int
borderRadius: float
cylinderFaceCount: int
cylinderRadius: float
skinnedMeshRenderer: SkinnedMeshRenderer
topLeft: Transform
topRight: Transform
bottomLeft: Transform
bottomRight: Transform
Returns
void