Search found 1 match

by roadliu
Fri Mar 24, 2017 7:50 am
Forum: Questions
Topic: Own properties in plugin
Replies: 10
Views: 2872

Re: Own properties in plugin

Is it possible now to show metadata of a ccCustomHObject?
I found a workaround like this,

CC_CLASS_ENUM ccTestObj::getClassID() const
{
auto id = ccHObject::getClassID();
id |= CC_TYPES::SENSOR;
return id;
}

but my ccTestObj is not a SENSOR, so is there any other way to do that?