MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / CopyFrom

Method CopyFrom

src/plugin/kernel/include/AFCNode.hpp:540–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538 }
539
540 void CopyFrom(AFINode* other) override
541 {
542 ARK_ASSERT_RET_NONE(data_meta_ != nullptr && other != nullptr);
543 ARK_ASSERT_RET_NONE(data_meta_->GetType() == other->GetType());
544
545 SetFloat(other->GetFloat());
546 }
547
548 void SaveTo(AFINode* other) override
549 {

Callers

nothing calls this directly

Calls 2

GetTypeMethod · 0.45
GetFloatMethod · 0.45

Tested by

no test coverage detected