VRKB
Virtual Reality Keyboard
Public Member Functions | Public Attributes | Protected Attributes | List of all members
VRKB.RoundedRect Class Reference
Inheritance diagram for VRKB.RoundedRect:
Inheritance graph
[legend]
Collaboration diagram for VRKB.RoundedRect:
Collaboration graph
[legend]

Public Member Functions

void OnEnable ()
 
void UpdateBoxCollider ()
 
IEnumerable< Vector3 > CornerVertices (Vector3 center, float radius, int numVertices, Func< float, float > radiansToXOffset, Func< float, float > radiansToYOffset)
 
IEnumerable< Vector3 > LayerVertices (float z, Vector3 size, float cornerRadius, int verticesPerCorner)
 
IEnumerable< Vector3 > Vertices (Vector3 size, float cornerRadius, int verticesPerCorner)
 
void UpdateMesh ()
 

Public Attributes

Vector3 Size = Vector3.one
 
float CornerRadius = 0.25f
 
int VerticesPerCorner = 2
 

Protected Attributes

Mesh _mesh
 

The documentation for this class was generated from the following file: