(One intermediate revision by one other user not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
Dynamic Value Variable Driver is a component that can drive a [[Type:IField`1|IField`1 (Value Holder)]] to the value assigned to a dynamic variable with the name <code>VariableName</code>. if the specified variable cannot be found, the value will revert to <code>DefaultTarget</code> how this works is explained on [[Dynamic Variables]] page.
{{Infobox Component
{{Infobox Component
|Image=DynamicValueVariableDriver`1Component.png
|Image=DynamicValueVariableDriver`1Component.png
|Name=Dynamic Value Variable Driver`1
|Name=Dynamic Value Variable Driver`1
}}
}}
Dynamic Value Variable Driver is a component that can drive a [[Type:IField`1|IField`1 (Value Holder)]] to the value assigned to a dynamic variable with the name <code>VariableName</code>. if the specified variable cannot be found, the value will revert to <code>DefaultTarget</code> how this works is explained on [[Dynamic Variables]] page.
<!--T:2-->
<!--T:2-->
Line 12:
Line 12:
{{Table ComponentFields
{{Table ComponentFields
|VariableName|String| {{Template:Variable Name Component}}
|VariableName|String| {{Template:Variable Name Component}}
|DefaultValue|'''T'''|TypeAdv2=true| The value to revert to when one doesn't exist.
}}
}}
Line 26:
Line 27:
[[Category:Generics{{#translation:}}]]
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|Dynamic Value Variable Driver`1]]
[[Category:Components{{#translation:}}|Dynamic Value Variable Driver`1]]
[[Category:Generic Components{{#translation:}}|Dynamic Value Variable Driver`1]]
[[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Value Variable Driver`1]]
[[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Value Variable Driver`1]]
Latest revision as of 21:48, 19 March 2025
Component image
Dynamic Value Variable Driver`1 component as seen in the Scene Inspector
Dynamic Value Variable Driver is a component that can drive a IField`1 (Value Holder) to the value assigned to a dynamic variable with the name VariableName. if the specified variable cannot be found, the value will revert to DefaultTarget how this works is explained on Dynamic Variables page.