====== COMP_BUILDING_ATTACH_NODE ====== **Category**: Component Parent class: [[:api:component|COMPONENT]]\\ ===== Properties ===== ---- ==== AttachNodeTypeList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:attach_node_type|ATTACH_NODE_TYPE]]>'' * **Expected**: ''list of enum values'' ---- ==== AllowedAngles ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:vec2f|vec2f]]'' * **Expected**: ''vec2f value'' * **Default value**: ''{ -20, 20 }'' ---- ==== MultipleOrientationCount ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''1'' ---- ==== ForbidRotation ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== ResetRotationWhenAttached ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ===== Functions ===== ---- ==== setAttachNodeType ==== ''void **setAttachNodeType**(//type//)'' ^ Name ^ Type ^ Description ^ | //''type''// | ''[[:api:attach_node_type|ATTACH_NODE_TYPE]]'' | | ---- ==== addAttachNodeType ==== ''void **addAttachNodeType**(//type//)'' ^ Name ^ Type ^ Description ^ | //''type''// | ''[[:api:attach_node_type|ATTACH_NODE_TYPE]]'' | | ---- ==== isNodeType ==== ''[[:data-types#boolean|boolean]] **isNodeType**(//type//)'' ^ Name ^ Type ^ Description ^ | //''type''// | ''[[:api:attach_node_type|ATTACH_NODE_TYPE]]'' | | ---- ==== getLinkedBuildingAttachNode ==== ''[[:api:comp_building_attach_node|COMP_BUILDING_ATTACH_NODE]] **getLinkedBuildingAttachNode**()'' ---- ==== getParentPart ==== ''[[:api:comp_building_part|COMP_BUILDING_PART]] **getParentPart**()'' ---- ==== isAvailable ==== ''[[:data-types#boolean|boolean]] **isAvailable**()'' ---- ==== isCompatibleWithOtherNode ==== ''[[:data-types#boolean|boolean]] **isCompatibleWithOtherNode**(//otherNode//)'' ^ Name ^ Type ^ Description ^ | //''otherNode''// | ''[[:api:comp_building_attach_node|COMP_BUILDING_ATTACH_NODE]]'' | | ---- ==== isAttached ==== ''[[:data-types#boolean|boolean]] **isAttached**()''