Hi,
Is it possible to have an example of how to create a new semantic tag? I would like to have a semantic tag for tables for example and it’s not clear from the development guide how to achieve this.
Thank you.
Hi,
Is it possible to have an example of how to create a new semantic tag? I would like to have a semantic tag for tables for example and it’s not clear from the development guide how to achieve this.
Thank you.
Hey There,
To add a semantic tag condition to your proxies just clock on the “Add MARS Component” button and add the tag, then create just assign a name to it.
Then I would need to create my own trait that defines a table and use the semantic tag with the trait name?
I was using the height above floor condition + plane size condition to filter tables in the scene and wanted to then assign a semantic tag to those.
I was trying to create a multicondition so that I have both the HeightAboveFloorCondition and PlaneSizeCondition satisfied and then I would want to create a semantic tag in that case. Would this be the way to do this? And if so, I’m having trouble understanding how those MARS given conditions can be used as subconditions. I was looking into the FlatFloorCondition as an example but didn’t manage to translate this into using HeightAboveFloorCondition and PlaneSizeCondition as subconditions. I would appreciate some help.
To define your own data objects and semantics, you can use “SynthesizedSemanticTag” to create a new data object and associated a tag with it. If you know the data ID of the item you want to add a trait to, you can also use “AddOrUpdateTrait” which comes with “IProvidesTraits”
Hi Cdorik,
We’re have a more elegant way to add semantic tags via proxies on the way. In the mean time - if you’re looking to essentially define a proxy once to use across multiple objects, I would recommend you put your proxy definition within a prefab.