The '''ScaleObjectManager''' component is used to create a field of objects with different relative sizes. This is used most prominently in the "Size of the Universe Adventure" world.
<!--T:2-->
<!--T:2-->
Line 14:
Line 14:
|LowerBound|Float|
|LowerBound|Float|
|UpperBound|Float|
|UpperBound|Float|
|TransitionRange|Float|
|FarSizeTransitionRange|Float|
|HeightScaleRatio|Float| Allows adjusting the way an object's vertical position is adjusted in the distance.
|FarSizeTransitionExp|Float|
|NearSizeTransitionRange|Float|
|NearSizeTransitionExp|Float|
|FarOffsetTransitionRange|Float|
|FarOffsetTransitionExp|Float|
|FarTransitionOffset|Float3|
|NearOffsetTransitionRange|Float|
|NearOffsetTransitionExp|Float|
|NearTransitionOffset|Float3|
|CenterOffsetRadius|Float|
|OptimalDistance|Float|
|CoordinatePowerBase|Float3|
}}
== Sync Delegates ==
{{Table ComponentTriggers
|OnPlaceAtOptimalDistance:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the Place At Optimal Distance button is touched.
|ResetFarAwayObjects:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the Reset Far Away Objects button is touched.
|OnRandomizeLocations:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the Randomize Locations button is touched.
|AlignAll:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the Align All button is touched.
|OnGenerateTestObjects:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the Generate Test Objects button is touched.
|UpdateAll:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the Update All button is touched.
Scale Object Manager component as seen in the Scene Inspector
The ScaleObjectManager component is used to create a field of objects with different relative sizes. This is used most prominently in the "Size of the Universe Adventure" world.