public class OriginCellChangeInfo
Holds information about a World Origin Cell Change operation.
Name | Type | Description |
---|---|---|
NewWorldOriginCell | Cell |
The new Origin Cell of the World. |
ShiftAmount | Vector3Double |
The amount of shift added to the SAM Asset Chunks as a result of the Origin Cell change. If you have content outside the control of SAM that needs to be shifted with the rest of the World, you should add this value to that contents' position. |
World | World |
The World this info referes to. |
public bool TryGetNewOriginCellOfZoneGrouping(int zoneIndex, int groupingIndex, out Cell newOriginCell)
Tries to get the new Origin Cell value (expressed as a Cell on the Zone Grouping's Endless Grid) for a particular Zone Grouping.
Name | Type | Description |
---|---|---|
zoneIndex | int |
The index of the Zone whose information you want to retrieve. |
groupingIndex | int |
The index of the World Grouping whose information you want to retrieve. |
newOriginCell | out Cell |
The new origin cell if the method returns true. |
type
True if the origin cell could be retrieved, false otherwise.