MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / parseNodeAttribute

Function parseNodeAttribute

Source/ThirdParty/OpenFBX/ofbx.cpp:2603–2612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2601
2602
2603static OptionalError<Object*> parseNodeAttribute(const Scene& scene, const Element& element, Allocator& allocator)
2604{
2605 NodeAttributeImpl* obj = allocator.allocate<NodeAttributeImpl>(scene, element);
2606 const Element* type_flags = findChild(element, "TypeFlags");
2607 if (type_flags && type_flags->first_property)
2608 {
2609 obj->attribute_type = type_flags->first_property->value;
2610 }
2611 return obj;
2612}
2613
2614
2615static OptionalError<Object*> parseMaterial(const Scene& scene, const Element& element, Allocator& allocator)

Callers 1

parseObjectsFunction · 0.85

Calls 1

findChildFunction · 0.85

Tested by

no test coverage detected