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

Classes

class  c__DisplayClass17_0
 
class  c__DisplayClass18_0
 

Static Public Member Functions

static void RemoveIllegalComponents (GameObject target, HashSet< Type > whitelist, bool retry=true, bool onlySceneObjects=false, bool logStripping=true, bool excludeEditorOnly=false, bool allowRemovingAssets=true)
 
static List< Component > FindIllegalComponents (GameObject target, HashSet< Type > whitelist, bool excludeEditorOnly=false)
 
static List< T > GetComponentsInChildrenExcludingEditorOnly< T > (this GameObject target, bool includeInactive)
 
static List< Component > GetComponentsInChildrenExcludingEditorOnly (this GameObject target, Type type, bool includeInactive)
 
static bool GetCachedWhitelistedTypes (string whitelistName, out HashSet< Type > whitelist)
 
static HashSet< Type > WhitelistedTypes (string whitelistName, IEnumerable< string > componentTypeWhitelist)
 
static HashSet< Type > WhitelistedTypes (string whitelistName, IEnumerable< Type > componentTypeWhitelist)
 
static void RemoveComponent (Component comp, bool allowRemovingAssets=true)
 
static void RemoveComponentsOfType< T > (GameObject target, bool allowRemovingAssets=true)
 
static IEnumerable< Shader > FindIllegalShaders (GameObject target, string[] whitelist)
 

Static Private Member Functions

static bool IsIllegalComponent (Component component, HashSet< Type > whitelist, bool excludeEditorOnly=false)
 
static bool IsEditorOnly (Component component)
 
static void AddDerivedClasses (HashSet< Type > whitelist)
 
static void RemoveDependencies (Component rootComponent, bool allowRemovingAssets=true)
 
static IEnumerator FindIllegalShadersEnumerator (GameObject target, string[] whitelist, Action< Shader > onFound, bool useWatch=false)
 

Detailed Description

Definition at line 11905 of file VRCSDKBase.cs.

Member Function Documentation

◆ AddDerivedClasses()

static void VRC.SDKBase.Validation.ValidationUtils.AddDerivedClasses ( HashSet< Type >  whitelist)
staticprivate

Definition at line 12126 of file VRCSDKBase.cs.

Here is the caller graph for this function:

◆ FindIllegalComponents()

static List< Component > VRC.SDKBase.Validation.ValidationUtils.FindIllegalComponents ( GameObject  target,
HashSet< Type >  whitelist,
bool  excludeEditorOnly = false 
)
static

Definition at line 11982 of file VRCSDKBase.cs.

Here is the call graph for this function:

◆ FindIllegalShaders()

static IEnumerable< Shader > VRC.SDKBase.Validation.ValidationUtils.FindIllegalShaders ( GameObject  target,
string[]  whitelist 
)
static

Definition at line 12244 of file VRCSDKBase.cs.

Here is the call graph for this function:

◆ FindIllegalShadersEnumerator()

static IEnumerator VRC.SDKBase.Validation.ValidationUtils.FindIllegalShadersEnumerator ( GameObject  target,
string[]  whitelist,
Action< Shader >  onFound,
bool  useWatch = false 
)
staticprivate

Definition at line 12259 of file VRCSDKBase.cs.

Here is the caller graph for this function:

◆ GetCachedWhitelistedTypes()

static bool VRC.SDKBase.Validation.ValidationUtils.GetCachedWhitelistedTypes ( string  whitelistName,
out HashSet< Type >  whitelist 
)
static

Definition at line 12075 of file VRCSDKBase.cs.

◆ GetComponentsInChildrenExcludingEditorOnly()

static List< Component > VRC.SDKBase.Validation.ValidationUtils.GetComponentsInChildrenExcludingEditorOnly ( this GameObject  target,
Type  type,
bool  includeInactive 
)
static

Definition at line 12061 of file VRCSDKBase.cs.

Here is the call graph for this function:

◆ GetComponentsInChildrenExcludingEditorOnly< T >()

static List< T > VRC.SDKBase.Validation.ValidationUtils.GetComponentsInChildrenExcludingEditorOnly< T > ( this GameObject  target,
bool  includeInactive 
)
static
Type Constraints
T :Component 

Definition at line 12047 of file VRCSDKBase.cs.

Here is the call graph for this function:

◆ IsEditorOnly()

static bool VRC.SDKBase.Validation.ValidationUtils.IsEditorOnly ( Component  component)
staticprivate

Definition at line 12026 of file VRCSDKBase.cs.

Here is the caller graph for this function:

◆ IsIllegalComponent()

static bool VRC.SDKBase.Validation.ValidationUtils.IsIllegalComponent ( Component  component,
HashSet< Type >  whitelist,
bool  excludeEditorOnly = false 
)
staticprivate

Definition at line 12009 of file VRCSDKBase.cs.

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

◆ RemoveComponent()

static void VRC.SDKBase.Validation.ValidationUtils.RemoveComponent ( Component  comp,
bool  allowRemovingAssets = true 
)
static

Definition at line 12219 of file VRCSDKBase.cs.

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

◆ RemoveComponentsOfType< T >()

static void VRC.SDKBase.Validation.ValidationUtils.RemoveComponentsOfType< T > ( GameObject  target,
bool  allowRemovingAssets = true 
)
static
Type Constraints
T :Component 

Definition at line 12228 of file VRCSDKBase.cs.

Here is the call graph for this function:

◆ RemoveDependencies()

static void VRC.SDKBase.Validation.ValidationUtils.RemoveDependencies ( Component  rootComponent,
bool  allowRemovingAssets = true 
)
staticprivate

Definition at line 12152 of file VRCSDKBase.cs.

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

◆ RemoveIllegalComponents()

static void VRC.SDKBase.Validation.ValidationUtils.RemoveIllegalComponents ( GameObject  target,
HashSet< Type >  whitelist,
bool  retry = true,
bool  onlySceneObjects = false,
bool  logStripping = true,
bool  excludeEditorOnly = false,
bool  allowRemovingAssets = true 
)
static

Definition at line 11942 of file VRCSDKBase.cs.

Here is the call graph for this function:

◆ WhitelistedTypes() [1/2]

static HashSet< Type > VRC.SDKBase.Validation.ValidationUtils.WhitelistedTypes ( string  whitelistName,
IEnumerable< string >  componentTypeWhitelist 
)
static

Definition at line 12080 of file VRCSDKBase.cs.

Here is the call graph for this function:

◆ WhitelistedTypes() [2/2]

static HashSet< Type > VRC.SDKBase.Validation.ValidationUtils.WhitelistedTypes ( string  whitelistName,
IEnumerable< Type >  componentTypeWhitelist 
)
static

Definition at line 12113 of file VRCSDKBase.cs.

Here is the call graph for this function:

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