m ProbablePrime moved page CopyGlobalScale (Component) to Component:CopyGlobalScale: Creating component Namespace |
not a component stub |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
|Source|Slot| The object that serves as scale reference. | |Source|Slot| The object that serves as scale reference. | ||
|NonUniform|Bool| If true, non-uniform scale is preserved, otherwise the X scale of the source serves as X, Y and Z of the target. | |NonUniform|Bool| If true, non-uniform scale is preserved, otherwise the X scale of the source serves as X, Y and Z of the target. | ||
|_scaleDrive| | |_scaleDrive|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv2=true| The field that is driven to match the global scale of the source. This automatically gets populated with the scale field of the slot that this component is added to. | ||
}} | }} | ||
Line 26: | Line 26: | ||
<!--T:5--> | <!--T:5--> | ||
== Related Issues == | == Related Issues == | ||
<!--T:6--> | <!--T:6--> | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Copy Global Scale]] | [[Category:Components{{#translation:}}|Copy Global Scale]] | ||
[[Category:Components:Transform:Drivers{{#translation:}}|Copy Global Scale]] | [[Category:Components:Transform:Drivers{{#translation:}}|Copy Global Scale]] |
Latest revision as of 21:39, 15 October 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
The CopyGlobalScale component is used to ensure that one object has the exact same global scale as another object.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Source
|
Slot | The object that serves as scale reference. |
NonUniform
|
Bool | If true, non-uniform scale is preserved, otherwise the X scale of the source serves as X, Y and Z of the target. |
_scaleDrive
|
field drive of Float3 | The field that is driven to match the global scale of the source. This automatically gets populated with the scale field of the slot that this component is added to. |