HierarchyGetPartModelTransform Method |
Returns part's model transform.
Namespace:
KSPDev.ModelUtils
Assembly:
KSPDev_Utils.1.2 (in KSPDev_Utils.1.2.dll) Version: 1.2 for KSP v1.6+
Syntaxpublic static Transform GetPartModelTransform(
Part part
)
Request Example
View SourceParameters
- part
- Type: (Default Namespace)Part
The part to get model for.
Return Value
Type:
Transform
The part's model transform if one was found. Or the root part's transform otherwise.
See Also