Method | Description | |
---|---|---|
GetTimeMark ( Double UniversalTime ) : String | ||
LoadTexture ( string name ) : |
Load Texture2D from standard folder
|
|
MonoColorHorizontalLineTexture ( |
Generate horizontal line
|
|
MonoColorRectTexture ( |
Generate rectangle
|
|
MonoColorTexture ( |
Texture generating a specific color
|
|
MonoColorVerticalLineTexture ( |
Generate vertical line
|
|
SavePng ( this renderTexture, string photoFrom ) : void |
This class converts time strings like "1d 2m 2s" into a double value as seconds and also vice versa, based on kerbin time.
|
|
WhiteNoiseTexture ( int width, int height, float alpha = .16f ) : |
Method | Description | |
---|---|---|
converter ( Double time, StringBuilder timeMark, uint seconds, String suffix ) : Double |
public static GetTimeMark ( Double UniversalTime ) : String | ||
UniversalTime | Double | |
return | String |
public static LoadTexture ( string name ) : |
||
name | string | Texture name without extension |
return |
public static MonoColorHorizontalLineTexture ( |
||
color | ||
size | int | |
return |
public static MonoColorRectTexture ( |
||
color | ||
return |
public static MonoColorTexture ( |
||
color | ||
width | int | |
height | int | |
return |
public static MonoColorVerticalLineTexture ( |
||
color | ||
size | int | |
return |
public static SavePng ( this renderTexture, string photoFrom ) : void | ||
renderTexture | this | |
photoFrom | string | |
return | void |
public static WhiteNoiseTexture ( int width, int height, float alpha = .16f ) : |
||
width | int | |
height | int | |
alpha | float | |
return |