VRC SDK
This project aims to completely document the VRChat Unity SDK
Loading...
Searching...
No Matches
GizmosUtil Class Reference
Inheritance diagram for GizmosUtil:
Collaboration diagram for GizmosUtil:

Static Public Member Functions

static void SetColor (Color color, float alpha)
 
static void DrawWireCube (Vector3 center, Vector3 size, Quaternion rotation=default(Quaternion))
 
static void DrawArrow (Vector3 from, Vector3 to, float arrowHeadLength=0.25f, float arrowHeadAngle=20f)
 
static void DrawWireSphere (Vector3 center, float radius, Quaternion rotation=default(Quaternion))
 
static void DrawWireCircle (Vector3 center, float radius, int segments=20, Quaternion rotation=default(Quaternion))
 
static void DrawWireArc (Vector3 center, float radius, float angle, int segments=20, Quaternion rotation=default(Quaternion))
 
static void DrawWireArc (Vector3 center, float radius, float angle, int segments, Quaternion rotation, Vector3 centerOfRotation)
 
static void DrawWireArc (Matrix4x4 matrix, float radius, float angle, int segments)
 
static void DrawWireCylinder (Vector3 center, float radius, float height, Quaternion rotation=default(Quaternion))
 
static void DrawWireCylinder (Vector3 center, float height, float radius1, float radius2, Quaternion rotation=default(Quaternion))
 
static void DrawWireCapsule (Vector3 center, float radius, float height, Quaternion rotation=default(Quaternion))
 
static void DrawWireCapsule (Vector3 point1, Vector3 point2, float radius1, float radius2)
 
static void DrawWireCapsule (Vector3 center, Quaternion rotation, float height, float radius1, float radius2)
 
static void DrawWireSquare (Vector3 center, Quaternion rotation, Vector2 size)
 
static void DrawWirePlane (Vector3 center, Quaternion rotation, float size)
 
static void DrawWireCone (Vector3 tip, Quaternion rotation, float height, float radius)
 
static void DrawWireAngleCone (Vector3 tip, Quaternion rotation, float radius, float angle, int segments=12)
 

Static Private Member Functions

static void DrawWireCapsuleEndcap (Vector3 center, Quaternion rotation, float half, float radius, bool isUp)
 

Detailed Description

Definition at line 154 of file VRCSDKBase-Editor.cs.

Member Function Documentation

◆ DrawArrow()

static void GizmosUtil.DrawArrow ( Vector3  from,
Vector3  to,
float  arrowHeadLength = 0.25f,
float  arrowHeadAngle = 20f 
)
static

Definition at line 189 of file VRCSDKBase-Editor.cs.

◆ DrawWireAngleCone()

static void GizmosUtil.DrawWireAngleCone ( Vector3  tip,
Quaternion  rotation,
float  radius,
float  angle,
int  segments = 12 
)
static

Definition at line 745 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:

◆ DrawWireArc() [1/3]

static void GizmosUtil.DrawWireArc ( Matrix4x4  matrix,
float  radius,
float  angle,
int  segments 
)
static

Definition at line 334 of file VRCSDKBase-Editor.cs.

◆ DrawWireArc() [2/3]

static void GizmosUtil.DrawWireArc ( Vector3  center,
float  radius,
float  angle,
int  segments,
Quaternion  rotation,
Vector3  centerOfRotation 
)
static

Definition at line 286 of file VRCSDKBase-Editor.cs.

◆ DrawWireArc() [3/3]

static void GizmosUtil.DrawWireArc ( Vector3  center,
float  radius,
float  angle,
int  segments = 20,
Quaternion  rotation = default(Quaternion) 
)
static

Definition at line 256 of file VRCSDKBase-Editor.cs.

Here is the caller graph for this function:

◆ DrawWireCapsule() [1/3]

static void GizmosUtil.DrawWireCapsule ( Vector3  center,
float  radius,
float  height,
Quaternion  rotation = default(Quaternion) 
)
static

Definition at line 527 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawWireCapsule() [2/3]

static void GizmosUtil.DrawWireCapsule ( Vector3  center,
Quaternion  rotation,
float  height,
float  radius1,
float  radius2 
)
static

Definition at line 621 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:

◆ DrawWireCapsule() [3/3]

static void GizmosUtil.DrawWireCapsule ( Vector3  point1,
Vector3  point2,
float  radius1,
float  radius2 
)
static

Definition at line 596 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:

◆ DrawWireCapsuleEndcap()

static void GizmosUtil.DrawWireCapsuleEndcap ( Vector3  center,
Quaternion  rotation,
float  half,
float  radius,
bool  isUp 
)
staticprivate

Definition at line 557 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawWireCircle()

static void GizmosUtil.DrawWireCircle ( Vector3  center,
float  radius,
int  segments = 20,
Quaternion  rotation = default(Quaternion) 
)
static

Definition at line 249 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawWireCone()

static void GizmosUtil.DrawWireCone ( Vector3  tip,
Quaternion  rotation,
float  height,
float  radius 
)
static

Definition at line 716 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:

◆ DrawWireCube()

static void GizmosUtil.DrawWireCube ( Vector3  center,
Vector3  size,
Quaternion  rotation = default(Quaternion) 
)
static

Definition at line 166 of file VRCSDKBase-Editor.cs.

◆ DrawWireCylinder() [1/2]

static void GizmosUtil.DrawWireCylinder ( Vector3  center,
float  height,
float  radius1,
float  radius2,
Quaternion  rotation = default(Quaternion) 
)
static

Definition at line 444 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:

◆ DrawWireCylinder() [2/2]

static void GizmosUtil.DrawWireCylinder ( Vector3  center,
float  radius,
float  height,
Quaternion  rotation = default(Quaternion) 
)
static

Definition at line 361 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawWirePlane()

static void GizmosUtil.DrawWirePlane ( Vector3  center,
Quaternion  rotation,
float  size 
)
static

Definition at line 696 of file VRCSDKBase-Editor.cs.

Here is the call graph for this function:

◆ DrawWireSphere()

static void GizmosUtil.DrawWireSphere ( Vector3  center,
float  radius,
Quaternion  rotation = default(Quaternion) 
)
static

Definition at line 227 of file VRCSDKBase-Editor.cs.

◆ DrawWireSquare()

static void GizmosUtil.DrawWireSquare ( Vector3  center,
Quaternion  rotation,
Vector2  size 
)
static

Definition at line 634 of file VRCSDKBase-Editor.cs.

Here is the caller graph for this function:

◆ SetColor()

static void GizmosUtil.SetColor ( Color  color,
float  alpha 
)
static

Definition at line 156 of file VRCSDKBase-Editor.cs.


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