Метод | Описание | |
---|---|---|
CreateExponentsForModule ( |
||
LoadGlobalExponents ( ) : void |
Load all TWEAKSCALEEXPONENTS that are globally defined.
|
|
Merge ( |
Merge two ScaleExponents. All the values in source that are not already present in destination will be added to destination
|
|
UpdateObject ( Part part, Part prefabObj, ScaleExponents>.Dictionary |
Метод | Описание | |
---|---|---|
Clone ( ) : |
Creates modules copy of the ScaleExponents.
|
|
IsExponentBlock ( |
||
Rescale ( TweakScale.MemberUpdater current, TweakScale.MemberUpdater baseValue, string name, ScalingMode scalingMode, TweakScale.ScalingFactor factor ) : void |
Rescales destination exponentValue according to its associated exponent.
|
|
ScaleExponents ( |
||
ScaleExponents ( |
||
ShouldIgnore ( Part part ) : bool | ||
UpdateEnumerable ( IEnumerable obj, IEnumerable prefabObj, TweakScale.ScalingFactor factor, Part part = null ) : void |
For IEnumerables (arrays, lists, etc), we want to update the items, not the list.
|
|
UpdateFields ( object obj, object baseObj, TweakScale.ScalingFactor factor, Part part ) : void |
Rescale the field of obj according to the exponents of the ScaleExponents and factor.
|
public static CreateExponentsForModule ( |
||
node | ||
parent | ScaleExponents>.Dictionary | |
Результат | ScaleExponents>.Dictionary |
public static LoadGlobalExponents ( ) : void | ||
Результат | void |
public static Merge ( |
||
destination | The ScaleExponents to update. | |
source | The ScaleExponents to add to |
|
Результат |
public static UpdateObject ( Part part, Part prefabObj, ScaleExponents>.Dictionary |
||
part | Part | |
prefabObj | Part | |
exponents | ScaleExponents>.Dictionary | |
factor | TweakScale.ScalingFactor | |
Результат | void |