Class MixedRealityOptimizeUtils
Inheritance
MixedRealityOptimizeUtils
Assembly: cs.temp.dll.dll
public static class MixedRealityOptimizeUtils
Methods
Declaration
public static void ChangeProperty(SerializedObject target, string name, Action<SerializedProperty> changer)
Parameters
Type |
Name |
Description |
SerializedObject |
target |
|
String |
name |
|
Action<SerializedProperty> |
changer |
|
Declaration
public static SerializedObject GetLightmapSettings()
Returns
Type |
Description |
SerializedObject |
|
Declaration
public static SerializedObject GetSettingsObject(string className)
Parameters
Type |
Name |
Description |
String |
className |
|
Returns
Type |
Description |
SerializedObject |
|
Declaration
public static bool IsBakedGlobalIlluminationEnabled()
Returns
Declaration
public static bool IsBuildTargetAndroid()
Returns
Declaration
public static bool IsBuildTargetIOS()
Returns
Declaration
public static bool IsBuildTargetOpenVR()
Returns
Declaration
public static bool IsBuildTargetUWP()
Returns
Checks if the project has depth buffer sharing enabled.
Declaration
public static bool IsDepthBufferSharingEnabled()
Returns
Type |
Description |
Boolean |
True if the project has depth buffer sharing enabled, false otherwise.
|
Declaration
public static bool IsRealtimeGlobalIlluminationEnabled()
Returns
Declaration
public static bool IsSinglePassInstanced()
Returns
Declaration
public static bool IsWMRDepthBufferFormat16bit()
Returns
Declaration
public static void SetBakedGlobalIlluminationEnabled(bool enabled)
Parameters
Type |
Name |
Description |
Boolean |
enabled |
|
Declaration
public static void SetDepthBufferFormat(bool set16BitDepthBuffer)
Parameters
Type |
Name |
Description |
Boolean |
set16BitDepthBuffer |
|
Declaration
public static void SetDepthBufferSharing(bool enableDepthBuffer)
Parameters
Type |
Name |
Description |
Boolean |
enableDepthBuffer |
|
Declaration
public static void SetRealtimeGlobalIlluminationEnabled(bool enabled)
Parameters
Type |
Name |
Description |
Boolean |
enabled |
|
Declaration
public static void SetSinglePassInstanced()