Component: Component Labels (Misc): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| Line 91: | Line 91: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Hide''' | ||
|- | |- | ||
| colspan="2" | Hides all labels. | | colspan="2" | Hides all labels. | ||
| Line 105: | Line 105: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetColor''' | ||
|- | |- | ||
| colspan="2" | Sets the color of the labels. Note that this affects all nesting levels, so any nesting level specific colors set in the properties panel will be overridden. | | colspan="2" | Sets the color of the labels. Note that this affects all nesting levels, so any nesting level specific colors set in the properties panel will be overridden. | ||
| Line 124: | Line 124: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetTarget''' | ||
|- | |- | ||
| colspan="2" | Set the target object. All items within the scope of this object will be given labels, not the taget object itself. If the target is set to zero or 'this', all objects in the current scope will be labelled. | | colspan="2" | Set the target object. All items within the scope of this object will be given labels, not the taget object itself. If the target is set to zero or 'this', all objects in the current scope will be labelled. | ||
| Line 143: | Line 143: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ShowNames''' | ||
|- | |- | ||
| colspan="2" | Sets the labels to show the names of objects. | | colspan="2" | Sets the labels to show the names of objects. | ||
| Line 157: | Line 157: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ShowProperty''' | ||
|- | |- | ||
| colspan="2" | Sets the labels to show a named property of each object. | | colspan="2" | Sets the labels to show a named property of each object. | ||
| Line 176: | Line 176: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Update''' | ||
|- | |- | ||
| colspan="2" | Refresh the labels after a change. | | colspan="2" | Refresh the labels after a change. | ||
| Line 191: | Line 191: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Revision as of 14:22, 13 July 2026
| Author | Matrix Ltd. |
| Version | 1.2 |
| Category | Misc |
Component Labels component
Automatically generates labels for all panel objects and components in a given context. Labels will always face the camera, and can show the name of each object, or any chosen property. Nesting can be used so that components within components are labelled, and so on.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_auto_labels.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_auto_labels.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Hide
| Hide | |
| Hides all labels. | |
| Return | |
SetColor
SetTarget
ShowNames
| ShowNames | |
| Sets the labels to show the names of objects. | |
| Return | |
ShowProperty
| ShowProperty | |
| Sets the labels to show a named property of each object. | |
| Property | |
| Name of the property to show. | |
| Return | |
Update
| Update | |
| Refresh the labels after a change. | |
| Return | |