Class ObjectAssemblyCompoundPartTool
public class ObjectAssemblyCompoundPartTool : ObjectAssemblyPlacementTool, IObjectAssemblyTool, IDisposable
- Inheritance
-
ObjectAssemblyCompoundPartTool
- Implements
- Inherited Members
- Extension Methods
Constructors
ObjectAssemblyCompoundPartTool(ObjectAssemblyBuilderEvents, ObjectAssemblyUIEvents, ObjectAssemblyInputHandler, ObjectAssemblyPartTracker, OABSessionInformation, ObjectAssemblyCameraManager, IObjectAssemblyAvailablePart, ObjectAssemblyAssets, List<IObjectAssemblyRelationship>, PartRelationshipType)
public ObjectAssemblyCompoundPartTool(ObjectAssemblyBuilderEvents eventSystemToUse, ObjectAssemblyUIEvents uiEventsToUse, ObjectAssemblyInputHandler inputToUse, ObjectAssemblyPartTracker partTrackerToUse, OABSessionInformation stats, ObjectAssemblyCameraManager cameraManagerToUse, IObjectAssemblyAvailablePart availablePart, ObjectAssemblyAssets oabAssets, List<IObjectAssemblyRelationship> relationships, PartRelationshipType toolMode)
Parameters
eventSystemToUseObjectAssemblyBuilderEventsuiEventsToUseObjectAssemblyUIEventsinputToUseObjectAssemblyInputHandlerpartTrackerToUseObjectAssemblyPartTrackerstatsOABSessionInformationcameraManagerToUseObjectAssemblyCameraManageravailablePartIObjectAssemblyAvailablePartoabAssetsObjectAssemblyAssetsrelationshipsList<IObjectAssemblyRelationship>toolModePartRelationshipType
ObjectAssemblyCompoundPartTool(ObjectAssemblyBuilderEvents, ObjectAssemblyUIEvents, ObjectAssemblyInputHandler, ObjectAssemblyPartTracker, OABSessionInformation, ObjectAssemblyCameraManager, IObjectAssemblyPart, ObjectAssemblyAssets, List<IObjectAssemblyRelationship>, bool)
public ObjectAssemblyCompoundPartTool(ObjectAssemblyBuilderEvents eventSystemToUse, ObjectAssemblyUIEvents uiEventsToUse, ObjectAssemblyInputHandler inputToUse, ObjectAssemblyPartTracker partTrackerToUse, OABSessionInformation stats, ObjectAssemblyCameraManager cameraManagerToUse, IObjectAssemblyPart heldPart, ObjectAssemblyAssets oabAssets, List<IObjectAssemblyRelationship> relationships, bool reCreateSavedEnd)
Parameters
eventSystemToUseObjectAssemblyBuilderEventsuiEventsToUseObjectAssemblyUIEventsinputToUseObjectAssemblyInputHandlerpartTrackerToUseObjectAssemblyPartTrackerstatsOABSessionInformationcameraManagerToUseObjectAssemblyCameraManagerheldPartIObjectAssemblyPartoabAssetsObjectAssemblyAssetsrelationshipsList<IObjectAssemblyRelationship>reCreateSavedEndbool
Fields
OnFinished
public Action OnFinished
Field Value
Methods
CreateLinkerObjectFlight(PartBehavior, PartBehavior, Module_CompoundPart, Module_CompoundPart, ref StackObjectsBetweenTwoPoints)
public static void CreateLinkerObjectFlight(PartBehavior firstPart, PartBehavior secondPart, Module_CompoundPart firstModule, Module_CompoundPart secondModule, ref StackObjectsBetweenTwoPoints connectorObject)
Parameters
firstPartPartBehaviorsecondPartPartBehaviorfirstModuleModule_CompoundPartsecondModuleModule_CompoundPartconnectorObjectStackObjectsBetweenTwoPoints
CreateLinkerObjectOAB(IObjectAssemblyPart, IObjectAssemblyPart, Module_CompoundPart, Module_CompoundPart, ObjectAssemblyBuilderEvents, ObjectAssemblyAssets, ref StackObjectsBetweenTwoPoints)
public static void CreateLinkerObjectOAB(IObjectAssemblyPart firstPart, IObjectAssemblyPart secondPart, Module_CompoundPart firstModule, Module_CompoundPart secondModule, ObjectAssemblyBuilderEvents events, ObjectAssemblyAssets assemblyAssets, ref StackObjectsBetweenTwoPoints connectorObject)
Parameters
firstPartIObjectAssemblyPartsecondPartIObjectAssemblyPartfirstModuleModule_CompoundPartsecondModuleModule_CompoundParteventsObjectAssemblyBuilderEventsassemblyAssetsObjectAssemblyAssetsconnectorObjectStackObjectsBetweenTwoPoints
OnLateUpdate()
protected override void OnLateUpdate()
OnPlacingPart(bool)
protected override void OnPlacingPart(bool isAttachedToSomethingElse)
Parameters
isAttachedToSomethingElsebool
ResetToolState(bool, IObjectAssemblyPart)
public void ResetToolState(bool deleteConnector = false, IObjectAssemblyPart partToDelete = null)
Parameters
deleteConnectorboolpartToDeleteIObjectAssemblyPart