MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / isEntity

Method isEntity

plugins/script/interfaces/EntityInterface.cpp:73–75  ·  view source on GitHub ↗

Checks if the given SceneNode structure is a BrushNode

Source from the content-addressed store, hash-verified

71
72// Checks if the given SceneNode structure is a BrushNode
73bool ScriptEntityNode::isEntity(const ScriptSceneNode& node) {
74 return Node_isEntity(node);
75}
76
77// "Cast" service for Python, returns a ScriptEntityNode.
78// The returned node is non-NULL if the cast succeeded

Callers 6

visitMethod · 0.80
preMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80
preMethod · 0.80
preMethod · 0.80

Calls 1

Node_isEntityFunction · 0.85

Tested by 2

preMethod · 0.64
preMethod · 0.64