MCPcopy Create free account
hub / github.com/assimp/assimp / IsNull

Method IsNull

code/AssetLib/FBX/FBXModel.cpp:125–136  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

123
124// ------------------------------------------------------------------------------------------------
125bool Model::IsNull() const {
126 const std::vector<const NodeAttribute *> &attrs = GetAttributes();
127 for (const NodeAttribute *att : attrs) {
128
129 const Null *null_tag = dynamic_cast<const Null *>(att);
130 if (null_tag) {
131 return true;
132 }
133 }
134
135 return false;
136}
137
138} // namespace FBX
139} // namespace Assimp

Callers 4

DoubleMethod · 0.45
CheckIntMethod · 0.45
CheckUintMethod · 0.45
SetupNodeMetadataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected