 | AbstractUniformGridTCell, TPointSetGridPointTransforms Method |
Set the GridPointTransform and InverseGridPointTransform.
Namespace:
Gamelogic.Grids
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic void SetGridPointTransforms(
Func<TPoint, TPoint> gridPointTransform,
Func<TPoint, TPoint> inverseGridPointTransform
)
Parameters
- gridPointTransform
- Type: SystemFuncTPoint, TPoint
Points returned by tis grid are transformed first with this delagate. - inverseGridPointTransform
- Type: SystemFuncTPoint, TPoint
This must be the inverse of the gridPointTransform function.
Together, these functions make it possible to do things such as flip axes.
See Also