Click or drag to resize

IAttachNodesUtilsGetTransformForNode Method

Gets or creates a transform object for the attach node.

Namespace:  KASAPIv2
Assembly:  KAS-API-v2 (in KAS-API-v2.dll) Version: KAS API v2
Syntax
C#
Transform GetTransformForNode(
	Part ownerPart,
	AttachNode an
)
Request Example View Source

Parameters

ownerPart
Type: (Default Namespace)Part
The part that owns the node.
an
Type: (Default Namespace)AttachNode
The attach node to create the transform for.

Return Value

Type: Transform
The object that matches the attach node connect point.
Remarks
The transform is added into the root of the part model.
See Also