Kerbal Space Program
1.12.4
|
Public Member Functions | |
void | ConstantOff () |
Fade out constant highlighting. More... | |
void | ConstantOffImmediate () |
Turn off constant highlighting immediately (without fading out). More... | |
void | ConstantOn () |
Fade in constant highlighting. More... | |
void | ConstantOn (Color color) |
Fade in constant highlighting with given color. More... | |
void | ConstantOnImmediate () |
Turn on constant highlighting immediately (without fading in). More... | |
void | ConstantOnImmediate (Color color) |
Turn on constant highlighting with given color immediately (without fading in). More... | |
void | ConstantParams (Color color) |
Set constant highlighting color. More... | |
void | ConstantSwitch () |
Switch Constant Highlighting. More... | |
void | ConstantSwitchImmediate () |
Switch constant highlighting immediately (without fading in/out). More... | |
void | Die () |
Destroy this Highlighter component. More... | |
void | FillBuffer (CommandBuffer buffer, int renderQueue) |
void | FlashingOff () |
Turn off flashing. More... | |
void | FlashingOn () |
Turn on flashing. More... | |
void | FlashingOn (Color color1, Color color2) |
Turn on flashing from color1 to color2. More... | |
void | FlashingOn (Color color1, Color color2, float freq) |
Turn on flashing from color1 to color2 with given frequency. More... | |
void | FlashingOn (float freq) |
Turn on flashing with given frequency. More... | |
void | FlashingParams (Color color1, Color color2, float freq) |
Set flashing parameters. More... | |
void | FlashingSwitch () |
Switch flashing mode. More... | |
void | OccluderOff () |
Disable occluder mode. Non-see-through occluders will be used only in case frame depth buffer is not accessible. More... | |
void | OccluderOn () |
Enable occluder mode. Non-see-through occluders will be used only in case frame depth buffer is not accessible. More... | |
void | OccluderSwitch () |
Switch occluder mode. Non-see-through occluders will be used only in case frame depth buffer is not accessible. More... | |
void | Off () |
Turn off all types of highlighting. More... | |
void | On () |
Turn on one-frame highlighting. More... | |
void | On (Color color) |
Turn on one-frame highlighting with given color. Can be called multiple times per update, color only from the latest call will be used. More... | |
void | OnParams (Color color) |
Set color for one-frame highlighting mode. More... | |
void | ReinitMaterials () |
Renderers reinitialization. Call this method if your highlighted object has changed it's materials, renderers or child objects. Can be called multiple times per update - renderers reinitialization will occur only once. More... | |
void | SeeThroughOff () |
Disable see-through mode More... | |
void | SeeThroughOn () |
Enable see-through mode More... | |
void | SeeThroughSwitch () |
Switch see-through mode More... | |
bool | UpdateHighlighting (bool isDepthAvailable) |
Static Public Member Functions | |
static HashSet< Highlighter > .Enumerator | GetEnumerator () |
static void | Initialize () |
static void | SetOffsetFactor (float value) |
static void | SetOffsetUnits (float value) |
static void | SetZWrite (float value) |
Public Attributes | |
const int | highlightingLayer = 7 |
Only these types of Renderers will be highlighted. More... | |
Static Public Attributes | |
static Color | colorConstructionPartDropAsNewVessel = new Color(0.7764706f, 0.3176471f, 0.007843138f, 1f) |
Colour used to highlight an a part about to be dropped In Flight(Construction) as a new vessel. More... | |
static Color | colorPartConstructionValid = new Color(0, 1, 0, 1) |
The color used to highlight parts when they can be constructed with More... | |
static Color | colorPartEditorActionHighlight = new Color(0, 1, 1, 1) |
The color indicating the highlighted part for action group editing More... | |
static Color | colorPartEditorActionSelected = new Color(0, 0, 1, 1) |
The color indicating the selected part for action group editing More... | |
static Color | colorPartEditorAttached = new Color(0, 1, 0, 1) |
The color used for when parts can be attached when placing in the editor More... | |
static Color | colorPartEditorAxisHighlight = new Color(0, 1, 1, 1) |
The color indicating the highlighted part for axis group editing More... | |
static Color | colorPartEditorAxisSelected = new Color(0, 0, 1, 1) |
The color indicating the selected part for axis group editing More... | |
static Color | colorPartEditorDetached = new Color(1, 0, 0, 1) |
The color used for when parts cannot be attached when placing in the editor More... | |
static Color | colorPartEngineerAppHighlight = new Color(1, 0, 0, 1) |
The color to highlight parts related to engineer tool issues More... | |
static Color | colorPartHighlightDefault = new Color(0,1,0,1) |
The color used to highlight parts when hovered over More... | |
static Color | colorPartInventoryContainer = new Color(0.254902f, 0.9921569f, 0.9960784f, 1f) |
Colour used to highlight an inventory part with unavailable inventory slots (space) when the user is holding a cargo part. More... | |
static Color | colorPartInventoryUnavailableSpace = Color.yellow |
Colour used to highlight an inventory part with unavailable inventory slots (space) when the user is holding a cargo part. More... | |
static Color | colorPartRootToolHighlight = new Color(0.03921569f, 0.5333334f, 0.5411765f, 0.3f) |
The color indicating the highlighted part for the reroot tool More... | |
static Color | colorPartRootToolHighlightEdge = new Color(0f, 1f, 1f, 0.5f) |
The color indicating the edge highlighting of the highlighted part for the reroot tool More... | |
static Color | colorPartRootToolHover = new Color(0.254902f, 0.9921569f, 0.9960784f, 1f) |
The color indicating the hovered part for the reroot tool More... | |
static Color | colorPartRootToolHoverEdge = new Color(0.04313726f, 0.9764706f, 0.9176471f, 1f) |
The color indicating the edge highlighting of the hovered part for the reroot tool More... | |
static Color | colorPartTransferDestHighlight = new Color(0.5490196f, 1f, 0.8588235f, 1f) |
The color indicating the destination part for the transfers More... | |
static Color | colorPartTransferDestHover = new Color(0.04313726f, 0.9764706f, 0.9176471f, 1f) |
The hover color indicating the destination part for the transfers More... | |
static Color | colorPartTransferSourceHighlight = new Color(0.7764706f, 0.3176471f, 0.007843138f, 1f) |
The color indicating the source part for the transfers More... | |
static Color | colorPartTransferSourceHover = new Color(1f, 0.694f, 0f, 1f) |
The hover color indicating the source part for the transfers More... | |
static float | HighlighterLimit = 1f |
static readonly List< System.Type > | types |
Properties | |
static int | _BackTex [get, set] |
static int | _Cull [get, set] |
static int | _Cutoff [get, set] |
static int | _HighlightingBlur1 [get, set] |
static int | _HighlightingBlur2 [get, set] |
static int | _HighlightingBlurOffset [get, set] |
static int | _HighlightingBlurred [get, set] |
static int | _HighlightingBuffer [get, set] |
static int | _HighlightingBufferTexelSize [get, set] |
static int | _HighlightingOffsetFactor [get, set] |
static int | _HighlightingOffsetUnits [get, set] |
static int | _HighlightingZWrite [get, set] |
static int | _Intensity [get, set] |
static int | _MainTex [get, set] |
static int | _Outline [get, set] |
static int | _StencilRef [get, set] |
static int | _ZTest [get, set] |
static bool | HighlightDirty [get, set] |
bool | highlighted [get, set] |
static Shader | opaqueShader [get] |
static Shader | transparentBackgroundShader [get] |
static Shader | transparentShader [get] |
|
inline |
Fade out constant highlighting.
< Start transition
|
inline |
Turn off constant highlighting immediately (without fading out).
< Set transition value to 0
< Stop transition
|
inline |
Fade in constant highlighting.
< Start transition
|
inline |
Fade in constant highlighting with given color.
color | Constant highlighting color. |
|
inline |
Turn on constant highlighting immediately (without fading in).
< Set transition value to 1
< Stop transition
|
inline |
Turn on constant highlighting with given color immediately (without fading in).
color | Constant highlighting color. |
|
inline |
Set constant highlighting color.
color | Constant highlighting color. |
|
inline |
Switch Constant Highlighting.
< Start transition
|
inline |
Switch constant highlighting immediately (without fading in/out).
< Set transition value to the final value
< Stop transition
|
inline |
Destroy this Highlighter component.
|
inline |
|
inline |
Turn off flashing.
|
inline |
Turn on flashing.
|
inline |
Turn on flashing from color1 to color2.
color1 | Starting color. |
color2 | Ending color. |
|
inline |
Turn on flashing from color1 to color2 with given frequency.
color1 | Starting color. |
color2 | Ending color. |
freq | Flashing frequency (times per second). |
|
inline |
Turn on flashing with given frequency.
f | Flashing frequency (times per second). |
|
inline |
Set flashing parameters.
color1 | Starting color. |
color2 | Ending color. |
freq | Flashing frequency (times per second). |
|
inline |
Switch flashing mode.
|
inlinestatic |
|
inlinestatic |
|
inline |
Disable occluder mode. Non-see-through occluders will be used only in case frame depth buffer is not accessible.
|
inline |
Enable occluder mode. Non-see-through occluders will be used only in case frame depth buffer is not accessible.
|
inline |
Switch occluder mode. Non-see-through occluders will be used only in case frame depth buffer is not accessible.
|
inline |
Turn off all types of highlighting.
< Set transition value to 0
< Stop transition
|
inline |
Turn on one-frame highlighting.
|
inline |
Turn on one-frame highlighting with given color. Can be called multiple times per update, color only from the latest call will be used.
color | Highlighting color. |
|
inline |
Set color for one-frame highlighting mode.
color | Highlighting color. |
|
inline |
Renderers reinitialization. Call this method if your highlighted object has changed it's materials, renderers or child objects. Can be called multiple times per update - renderers reinitialization will occur only once.
|
inline |
Disable see-through mode
|
inline |
Enable see-through mode
|
inline |
Switch see-through mode
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
< Is any highlighting mode is enabled?
< Render as highlighter
< RenderQueue = (seeThrough ? Geometry+1 : Geometry)
< RenderQueue = (seeThrough ? Occluder queue : Geometry queue)
|
static |
Colour used to highlight an a part about to be dropped In Flight(Construction) as a new vessel.
|
static |
The color used to highlight parts when they can be constructed with
|
static |
The color indicating the highlighted part for action group editing
|
static |
The color indicating the selected part for action group editing
|
static |
The color used for when parts can be attached when placing in the editor
|
static |
The color indicating the highlighted part for axis group editing
|
static |
The color indicating the selected part for axis group editing
|
static |
The color used for when parts cannot be attached when placing in the editor
|
static |
The color to highlight parts related to engineer tool issues
|
static |
The color used to highlight parts when hovered over
|
static |
Colour used to highlight an inventory part with unavailable inventory slots (space) when the user is holding a cargo part.
|
static |
Colour used to highlight an inventory part with unavailable inventory slots (space) when the user is holding a cargo part.
|
static |
The color indicating the highlighted part for the reroot tool
|
static |
The color indicating the edge highlighting of the highlighted part for the reroot tool
|
static |
The color indicating the hovered part for the reroot tool
|
static |
The color indicating the edge highlighting of the hovered part for the reroot tool
|
static |
The color indicating the destination part for the transfers
|
static |
The hover color indicating the destination part for the transfers
|
static |
The color indicating the source part for the transfers
|
static |
The hover color indicating the source part for the transfers
|
static |
const int Highlighting.Highlighter.highlightingLayer = 7 |
Only these types of Renderers will be highlighted.
|
static |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
getset |
|
staticget |
|
staticget |
|
staticget |