Class ImportersUtils
Inheritance
System.Object
ImportersUtils
Syntax
public static class ImportersUtils
Methods
ColorFromTemperature(Single)
Declaration
public static Color ColorFromTemperature(float temperature)
Parameters
Type |
Name |
Description |
System.Single |
temperature |
|
Returns
GetCandelasIntensity(Single, SyncLight.Types.IntensityUnit, SyncLight.Types.Type, Single)
Declaration
public static float GetCandelasIntensity(float lightIntensity, SyncLight.Types.IntensityUnit intensityUnit, SyncLight.Types.Type lightType, float apexConeAngle = 0F)
Parameters
Type |
Name |
Description |
System.Single |
lightIntensity |
|
SyncLight.Types.IntensityUnit |
intensityUnit |
|
SyncLight.Types.Type |
lightType |
|
System.Single |
apexConeAngle |
|
Returns
Type |
Description |
System.Single |
|
GetUnityColor(SyncColor, Boolean)
Declaration
public static Color GetUnityColor(SyncColor color, bool keepAlpha = true)
Parameters
Type |
Name |
Description |
SyncColor |
color |
|
System.Boolean |
keepAlpha |
|
Returns
Declaration
public static void SetTransform(Transform transform, SyncTransform uTransform)
Parameters
Type |
Name |
Description |
Transform |
transform |
|
SyncTransform |
uTransform |
|