Interface IObjectAssemblyAvailablePart
- Namespace
- KSP.OAB
- Assembly
- Assembly-CSharp.dll
public interface IObjectAssemblyAvailablePart
- Extension Methods
-
Properties
BaseAttachmentRotation
Quaternion BaseAttachmentRotation { get; }
Property Value
- Quaternion
CanAttachToSurfaces
bool CanAttachToSurfaces { get; }
Property Value
- bool
CanHaveSurfaceAttachedTo
bool CanHaveSurfaceAttachedTo { get; }
Property Value
- bool
CanSuggestOrientation
bool CanSuggestOrientation { get; }
Property Value
- bool
Category
PartCategories Category { get; }
Property Value
- PartCategories
CrashTolerance
float CrashTolerance { get; }
Property Value
- float
CrewCapacity
int CrewCapacity { get; }
Property Value
- int
Description
string Description { get; }
Property Value
- string
EditorPartCategory
OABEditorPartCategory EditorPartCategory { get; }
Property Value
- OABEditorPartCategory
Family
Property Value
- string
FuelCrossFeed
bool FuelCrossFeed { get; }
Property Value
- bool
IsCompound
Property Value
- bool
Mass
Property Value
- float
MaxTemp
Property Value
- double
MirrorTechnique
MirrorTechnique MirrorTechnique { get; }
Property Value
- MirrorTechnique
ModelPrefab
GameObject ModelPrefab { get; set; }
Property Value
- GameObject
Name
Property Value
- string
Nodes
IObjectAssemblyAvailablePartNode[] Nodes { get; }
Property Value
- IObjectAssemblyAvailablePartNode[]
OrientationPreference
OABOrientation OrientationPreference { get; }
Property Value
- OABOrientation
PartData
PartData PartData { get; }
Property Value
- PartData
PartType
AssemblyPartTypeFilter PartType { get; }
Property Value
- AssemblyPartTypeFilter
PickUpPointOffset
Vector3 PickUpPointOffset { get; }
Property Value
- Vector3
PickupRotationPointOffset
Vector3 PickupRotationPointOffset { get; }
Property Value
- Vector3
ResourceConsumables
List<AssemblyPartsFuelTypeFilter> ResourceConsumables { get; }
Property Value
- List<AssemblyPartsFuelTypeFilter>
ResourceContainers
List<AssemblyPartsFuelTypeFilter> ResourceContainers { get; }
Property Value
- List<AssemblyPartsFuelTypeFilter>
ResourceCosts
List<PartResourceCostDefinition> ResourceCosts { get; }
Property Value
- List<PartResourceCostDefinition>
ResourceGenerators
List<AssemblyPartsCostFilter> ResourceGenerators { get; }
Property Value
- List<AssemblyPartsCostFilter>
Resources
IObjectAssemblyResource[] Resources { get; }
Property Value
- IObjectAssemblyResource[]
Size
AssemblySizeFilterType Size { get; }
Property Value
- AssemblySizeFilterType
StageType
AssemblyPartStageType StageType { get; }
Property Value
- AssemblyPartStageType
StagingIconAssetAddress
string StagingIconAssetAddress { get; }
Property Value
- string
SurfaceAttachmentPositionOffset
Vector3 SurfaceAttachmentPositionOffset { get; }
Property Value
- Vector3
SurfaceAttachmentRotationOffset
Quaternion SurfaceAttachmentRotationOffset { get; }
Property Value
- Quaternion
SurfaceAttachmentVisualSize
float SurfaceAttachmentVisualSize { get; }
Property Value
- float
Property Value
- string
TechLevel
AssemblyPartsTechLevelFilter TechLevel { get; }
Property Value
- AssemblyPartsTechLevelFilter
Title
Property Value
- string
TotalMass
Property Value
- float
VisualsLoaded
bool VisualsLoaded { get; }
Property Value
- bool
Methods
CreateEditorPart(List<SerializedPartModule>, ObjectAssemblyAssets)
IObjectAssemblyPart CreateEditorPart(List<SerializedPartModule> rawModuleData, ObjectAssemblyAssets prefabs)
Parameters
rawModuleData List<SerializedPartModule>
prefabs ObjectAssemblyAssets
Returns
- IObjectAssemblyPart