HierarchyGetPartModelTransform Method |
Returns part's model transform.
Namespace:
KSPDev.ModelUtils
Assembly:
KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
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