Class VFXTestSuiteDialog
- Namespace
- KSP.VFX
- Assembly
- Assembly-CSharp.dll
public class VFXTestSuiteDialog : KerbalMonoBehaviour
- Inheritance
-
VFXTestSuiteDialog
- Inherited Members
-
- Extension Methods
-
Constructors
VFXTestSuiteDialog()
public VFXTestSuiteDialog()
Fields
DIALOG_PREFAB
public const string DIALOG_PREFAB = "VFXTestSuite.prefab"
Field Value
- string
SphereMesh
Field Value
- Mesh
Properties
IsVisible
public bool IsVisible { get; set; }
Property Value
- bool
Methods
AddOrUpdateGroundBlastFX(IGGuid, string, int, Vector3, Quaternion, float, float, float)
public void AddOrUpdateGroundBlastFX(IGGuid vesselGuid, string vesselName, int engineIdx, Vector3 pos, Quaternion orientation, float raycastDistance, float deviationFromVertical, float throttle)
Parameters
vesselGuid IGGuid
vesselName string
engineIdx int
pos Vector3
orientation Quaternion
raycastDistance float
deviationFromVertical float
throttle float
DismissDialog()
public void DismissDialog()
Initialize()
public static void Initialize()
ModeSelectionChanged()
public void ModeSelectionChanged()
public void OnMultiFunctionButtonClick()
OnTestDecouple()
public void OnTestDecouple()
OnTestFairing()
public void OnTestFairing()
OnTestLaunchClamp()
public void OnTestLaunchClamp()
OnTestParachute()
public void OnTestParachute()
RegisterActiveEffect(IGGuid, string, string)
public void RegisterActiveEffect(IGGuid partguid, string partname, string prefabname)
Parameters
partguid IGGuid
partname string
prefabname string
public void RegisterPartSurfaceContact(IGGuid partguid, string partname, float relativeVelocity)
Parameters
partguid IGGuid
partname string
relativeVelocity float
ShowRejectedEvent(FXContextualEvent)
public void ShowRejectedEvent(FXContextualEvent fxevent)
Parameters
fxevent FXContextualEvent
UnregisterActiveEffect(IGGuid)
public void UnregisterActiveEffect(IGGuid partguid)
Parameters
partguid IGGuid
UnregisterGroundBlastFX(IGGuid, int)
public void UnregisterGroundBlastFX(IGGuid vesselGuid, int engineIdx)
Parameters
vesselGuid IGGuid
engineIdx int
UnregisterLaunchFire(IGGuid)
public void UnregisterLaunchFire(IGGuid partguid)
Parameters
partguid IGGuid
UnregisterLaunchSmoke(IGGuid)
public void UnregisterLaunchSmoke(IGGuid partguid)
Parameters
partguid IGGuid
public void UnregisterPartSurfaceContact(IGGuid partguid)
Parameters
partguid IGGuid
UpdateLaunchFireFX(IGGuid, string, float, float, float, float, float)
public void UpdateLaunchFireFX(IGGuid partguid, string partname, float normalizedThrustDistance, float normalizedthrust, float thrust, float throttle, float distance)
Parameters
partguid IGGuid
partname string
normalizedThrustDistance float
normalizedthrust float
thrust float
throttle float
distance float
UpdateLaunchSmokeFX(IGGuid, string, float, float, float, float, float)
public void UpdateLaunchSmokeFX(IGGuid partguid, string partname, float normalizedThrustDistance, float normalizedthrust, float thrust, float throttle, float distance)
Parameters
partguid IGGuid
partname string
normalizedThrustDistance float
normalizedthrust float
thrust float
throttle float
distance float
public void UpdatePartSurfaceContact(IGGuid partguid, float relativeVelocity)
Parameters
partguid IGGuid
relativeVelocity float