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