//============================================================================== void EndEffector::copyNodePropertiesTo( std::unique_ptr<Node::Properties>& outputProperties) const { if(outputProperties) { EndEffector::Properties* properties = static_cast<EndEffector::Properties*>(outputProperties.get()); static_cast<Entity::Properties&>(*properties) = getEntityProperties(); static_cast<UniqueProperties&>(*properties) = mEndEffectorP; copyAddonPropertiesTo(properties->mAddonProperties); } else { outputProperties = getNodeProperties(); } }
//============================================================================== void Node::copyNodePropertiesTo( std::unique_ptr<Properties>& outputProperties) const { outputProperties = getNodeProperties(); }