You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
134
134
135
135
- New `SceneMan` Lua function `CastTerrainPenetrationRay(Vector start, Vector ray, Vector endPos, int strengthLimit, int skip)`, which adds up the material strength of the terrain pixels encountered along the way, and stops when the accumulated value meets or exceeds `strengthLimit`. `endPos` is filled out with the ending position of the ray, returns `true` or `false` depending on whether the ray was stopped early or not.
136
136
137
-
- Exposed `MOPixel` property `Color` to Lua. It gets and sets the index of the MOPixel's color.
137
+
- Exposed `MOPixel` property `Color` to Lua. It gets and sets the index of the MOPixel's color. You may need to use `ToMOPixel()` to access it.
138
138
139
139
</details>
140
140
@@ -180,8 +180,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
180
180
181
181
-`SceneMan` Lua function `DislodgePixel()` now optionally accepts a third boolean argument to delete the found pixel immediately. Format is `DislodgePixel(int posX, int posY, bool deletePixel)`. `DislodgePixel()` now also automatically accounts for scene wrapping.
182
182
183
-
-`SceneMan` Lua function `DislodgePixel()` and all of its derivatives now return `MOPixel` instead of `MovableObject` to save on typecasting in Lua.
0 commit comments