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