MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / fcall_objects

Function fcall_objects

src/s3tool.cpp:1567–1575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1565}
1566
1567static void fcall_objects( lk::invoke_t &cxt )
1568{
1569 LK_DOC( "objects", "Returns a list of the names of all the objects in the scene.", "(none):array" );
1570 std::vector<VObject*> list = ((ShadeTool*)cxt.user_data())->GetView()->GetObjects();
1571
1572 cxt.result().empty_vector();
1573 for( size_t i=0;i<list.size();i++ )
1574 cxt.result().vec_append( list[i]->Property("Name").GetString() );
1575}
1576
1577static void fcall_property( lk::invoke_t &cxt )
1578{

Callers

nothing calls this directly

Calls 4

GetViewMethod · 0.80
sizeMethod · 0.80
GetObjectsMethod · 0.45
GetStringMethod · 0.45

Tested by

no test coverage detected