Class LightweightUtils
Inheritance
System.Object
LightweightUtils
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Syntax
public static class LightweightUtils
Methods
CreateQuadMesh(Boolean)
Declaration
public static Mesh CreateQuadMesh(bool uvStartsAtTop)
Parameters
Type |
Name |
Description |
System.Boolean |
uvStartsAtTop |
|
Returns
GetLightCookieMatrix(VisibleLight, out Matrix4x4)
Declaration
public static void GetLightCookieMatrix(VisibleLight light, out Matrix4x4 cookieMatrix)
Parameters
Type |
Name |
Description |
VisibleLight |
light |
|
Matrix4x4 |
cookieMatrix |
|
HasFlag(FrameRenderingConfiguration, FrameRenderingConfiguration)
Declaration
public static bool HasFlag(FrameRenderingConfiguration mask, FrameRenderingConfiguration flag)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsSupportedCookieType(LightType)
Declaration
public static bool IsSupportedCookieType(LightType lightType)
Parameters
Type |
Name |
Description |
LightType |
lightType |
|
Returns
Type |
Description |
System.Boolean |
|
IsSupportedShadowType(LightType)
Declaration
public static bool IsSupportedShadowType(LightType lightType)
Parameters
Type |
Name |
Description |
LightType |
lightType |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool PlatformSupportsMSAABackBuffer()
Returns
Type |
Description |
System.Boolean |
|