Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | Init () |
void | Add (Point point, float tile=0f, float color=0f) |
void | Add (ref Vector3 v, float tile=0f, float color=0f) |
void | Add (float x, float y, float z, float tile=0f, float color=0f) |
void | AddWithScale (float x, float y, float z, int tile, float scale) |
void | AddShadow (MeshPassParam p, ref Vector3 fix) |
void | AddShadow (float x, float y, float z, ShadowData.Item s, SourcePref pref, int dir=0, bool snow=false) |
void | AddWithRotation (float x, float y, float z, float sx, float sy, int tile, float angle, bool flip) |
void | Add (MeshPassParam p) |
void | Add (float x, float y, float z, float tile, float color, float matColor=0f) |
void | Add (MeshPassParam p, float tile, float color, float matColor=0f) |
void | Draw () |
void | DrawEmpty () |
void | NextBatch () |
override string | ToString () |
void | Refresh () |
void | OnValidate () |
void | _Refresh () |
Public Attributes | |
MeshPass | subPass |
MeshPass | snowPass |
MeshPass | shadowPass |
Material | mat |
Mesh | mesh |
ProceduralMesh | pmesh |
Sprite | sprite |
bool | setTile |
bool | setColor |
bool | setMatColor |
bool | setExtra |
int | renderQueue |
MeshPassParam | _p = new MeshPassParam() |
FilterMode | filter |
int | lastCount |
int | lastBatchCount |
bool | haveSubPass |
bool | haveShadowPass |
bool | haveSnowPass |
int | idx |
int | batchIdx |
int | batchSize = 1023 |
List< MeshBatch > | batches = new List<MeshBatch>() |
Texture | preserveTex |
Static Public Attributes | |
const int | TokenLiquid = 10000 |
const int | TokenLowWall = 1000000 |
const int | TokenLowWallDefault = 3000000 |
Properties | |
float | meshX [get, set] |
Private Member Functions | |
Mesh | SpriteToMesh (Sprite sprite) |
Private Attributes | |
bool | initialized |
bool | resize |
MeshBatch | _batch |
Vector3 | tempV = Vector3.zero |
Vector2 | tempE = Vector2.zero |
bool | first = true |
Definition at line 7 of file MeshPass.cs.
|
inline |
Definition at line 466 of file MeshPass.cs.
References ProceduralMesh.GetMesh(), haveShadowPass, haveSnowPass, haveSubPass, mesh, pmesh, shadowPass, snowPass, sprite, SpriteToMesh(), and subPass.
Referenced by Init().
|
inline |
Definition at line 306 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, MeshBatch.colors, idx, MeshBatch.matColors, MeshBatch.matrices, NextBatch(), setColor, setMatColor, and MeshBatch.tiles.
|
inline |
Definition at line 159 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, MeshBatch.colors, idx, MeshBatch.matrices, NextBatch(), setColor, and MeshBatch.tiles.
|
inline |
Definition at line 281 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, MeshPassParam.color, MeshBatch.colors, idx, MeshPassParam.matColor, MeshBatch.matColors, MeshBatch.matrices, NextBatch(), setColor, setMatColor, setTile, MeshPassParam.tile, MeshBatch.tiles, MeshPassParam.x, MeshPassParam.y, and MeshPassParam.z.
|
inline |
Definition at line 328 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, MeshBatch.colors, idx, MeshBatch.matColors, MeshBatch.matrices, NextBatch(), setColor, setMatColor, MeshBatch.tiles, MeshPassParam.x, MeshPassParam.y, and MeshPassParam.z.
|
inline |
Definition at line 122 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, MeshBatch.colors, idx, MeshBatch.matrices, NextBatch(), Point.Position(), setColor, and MeshBatch.tiles.
Referenced by PartialMap.Apply(), UIInspector.DrawHighlight(), TaskDesignation.DrawMarker(), BaseTileMap.DrawTile(), TileMapElona.DrawTile(), ScreenGuide.DrawWall(), Recipe.OnRenderMarker(), ActionMode.OnRenderTile(), AM_Adv.OnRenderTile(), AM_Build.OnRenderTile(), HotItemHeld.OnRenderTile(), Trait.OnRenderTile(), TraitRoadSign.OnRenderTile(), ActionMode.OnRenderTileFloor(), Card.RenderMarker(), GameUpdater.Update(), HoardActor.Update(), and LayerInteraction.Update().
|
inline |
Definition at line 141 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, MeshBatch.colors, idx, MeshBatch.matrices, NextBatch(), setColor, and MeshBatch.tiles.
|
inline |
Definition at line 213 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, idx, if(), MeshBatch.matrices, NextBatch(), SourcePref.shadowBRX, SourcePref.shadowBRY, SourcePref.shadowBX, SourcePref.shadowBY, SourcePref.shadowX, SourcePref.shadowY, tempE, and MeshBatch.tiles.
|
inline |
Definition at line 195 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, idx, MeshBatch.matrices, NextBatch(), setTile, MeshPassParam.tile, and MeshBatch.tiles.
Referenced by CardRenderer.Draw(), BaseTileMap.DrawTile(), TileMapElona.DrawTile(), and GrowSystem.OnRenderTileMap().
|
inline |
Definition at line 253 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, idx, MeshBatch.matrices, NextBatch(), tempE, and MeshBatch.tiles.
|
inline |
Definition at line 177 of file MeshPass.cs.
References _batch, batches, batchIdx, batchSize, idx, MeshBatch.matrices, NextBatch(), and MeshBatch.tiles.
|
inline |
Definition at line 350 of file MeshPass.cs.
References batches, batchIdx, batchSize, Debug, Draw(), haveShadowPass, haveSnowPass, haveSubPass, idx, lastBatchCount, lastCount, mat, Material, mesh, renderQueue, resize, setColor, setMatColor, setTile, shadowPass, snowPass, and subPass.
Referenced by Draw(), Scene.DrawPass(), and HoardActor.Update().
|
inline |
Definition at line 412 of file MeshPass.cs.
Referenced by Scene.DrawPass().
|
inline |
Definition at line 98 of file MeshPass.cs.
References _Refresh(), batches, batchIdx, batchSize, idx, Init(), initialized, mesh, shadowPass, snowPass, and subPass.
Referenced by HoardActor.Activate(), Init(), Scene.InitPass(), and Refresh().
|
inline |
Definition at line 417 of file MeshPass.cs.
References batches, batchIdx, batchSize, idx, and resize.
Referenced by Add(), AddShadow(), AddWithRotation(), AddWithScale(), BaseTileMap.Draw(), Assets.Resources.Scene.Render.RenderDataRoof.Draw(), RenderData.Draw(), RenderDataHalfBlock.Draw(), RenderDataLiquid.Draw(), RenderDataObj.Draw(), RenderDataObjAdd.Draw(), RenderDataObjV.Draw(), RenderDataTile.Draw(), RenderDataEffect.Draw(), RenderData.DrawShadow(), and BaseTileMap.DrawTile().
|
inline |
Definition at line 461 of file MeshPass.cs.
References Refresh().
|
inline |
Definition at line 446 of file MeshPass.cs.
References batches, Init(), Core.Instance, mesh, Scene.passes, and Core.scene.
Referenced by OnValidate().
|
inlineprivate |
Definition at line 432 of file MeshPass.cs.
References sprite.
Referenced by _Refresh().
|
inline |
Definition at line 441 of file MeshPass.cs.
|
private |
Definition at line 77 of file MeshPass.cs.
Referenced by Add(), AddShadow(), AddWithRotation(), and AddWithScale().
MeshPassParam MeshPass._p = new MeshPassParam() |
Definition at line 39 of file MeshPass.cs.
Definition at line 66 of file MeshPass.cs.
Referenced by Add(), AddShadow(), AddWithRotation(), AddWithScale(), BaseTileMap.Draw(), Draw(), Assets.Resources.Scene.Render.RenderDataRoof.Draw(), RenderData.Draw(), RenderDataHalfBlock.Draw(), RenderDataLiquid.Draw(), RenderDataObj.Draw(), RenderDataObjAdd.Draw(), RenderDataObjV.Draw(), RenderDataTile.Draw(), RenderDataEffect.Draw(), RenderData.DrawShadow(), BaseTileMap.DrawTile(), Init(), MeshBatch.MeshBatch(), NextBatch(), and Refresh().
int MeshPass.batchIdx |
Definition at line 60 of file MeshPass.cs.
Referenced by Add(), AddShadow(), AddWithRotation(), AddWithScale(), BaseTileMap.Draw(), Draw(), Assets.Resources.Scene.Render.RenderDataRoof.Draw(), RenderData.Draw(), RenderDataHalfBlock.Draw(), RenderDataLiquid.Draw(), RenderDataObj.Draw(), RenderDataObjAdd.Draw(), RenderDataObjV.Draw(), RenderDataTile.Draw(), RenderDataEffect.Draw(), DrawEmpty(), RenderData.DrawShadow(), BaseTileMap.DrawTile(), Init(), and NextBatch().
int MeshPass.batchSize = 1023 |
Definition at line 63 of file MeshPass.cs.
Referenced by Add(), AddShadow(), AddWithRotation(), AddWithScale(), BaseTileMap.Draw(), Draw(), Assets.Resources.Scene.Render.RenderDataRoof.Draw(), RenderData.Draw(), RenderDataHalfBlock.Draw(), RenderDataLiquid.Draw(), RenderDataObj.Draw(), RenderDataObjAdd.Draw(), RenderDataObjV.Draw(), RenderDataTile.Draw(), RenderDataEffect.Draw(), RenderData.DrawShadow(), BaseTileMap.DrawTile(), Init(), MeshBatch.MeshBatch(), and NextBatch().
FilterMode MeshPass.filter |
Definition at line 41 of file MeshPass.cs.
|
private |
Definition at line 84 of file MeshPass.cs.
bool MeshPass.haveShadowPass |
Definition at line 51 of file MeshPass.cs.
Referenced by _Refresh(), and Draw().
bool MeshPass.haveSnowPass |
Definition at line 54 of file MeshPass.cs.
Referenced by _Refresh(), and Draw().
bool MeshPass.haveSubPass |
Definition at line 48 of file MeshPass.cs.
Referenced by _Refresh(), and Draw().
int MeshPass.idx |
Definition at line 57 of file MeshPass.cs.
Referenced by Add(), AddShadow(), AddWithRotation(), AddWithScale(), BaseTileMap.Draw(), Draw(), Assets.Resources.Scene.Render.RenderDataRoof.Draw(), RenderData.Draw(), RenderDataHalfBlock.Draw(), RenderDataLiquid.Draw(), RenderDataObj.Draw(), RenderDataObjAdd.Draw(), RenderDataObjV.Draw(), RenderDataTile.Draw(), RenderDataEffect.Draw(), DrawEmpty(), RenderData.DrawShadow(), BaseTileMap.DrawTile(), Init(), and NextBatch().
|
private |
Definition at line 69 of file MeshPass.cs.
Referenced by Init().
int MeshPass.lastBatchCount |
Definition at line 45 of file MeshPass.cs.
Referenced by Draw().
int MeshPass.lastCount |
Definition at line 43 of file MeshPass.cs.
Referenced by Draw().
Material MeshPass.mat |
Definition at line 21 of file MeshPass.cs.
Referenced by RefractionProfile.Apply(), PostEffectProfile.Apply(), LiquidProfile.Apply(), Scene.ApplyZoneConfig(), Draw(), RenderRow.GetSprite(), CoreDebug.Test_Filter(), and Core.Update().
Mesh MeshPass.mesh |
Definition at line 23 of file MeshPass.cs.
Referenced by _Refresh(), Draw(), Init(), and Refresh().
ProceduralMesh MeshPass.pmesh |
Definition at line 25 of file MeshPass.cs.
Referenced by _Refresh(), TextureManager.AddBase(), RenderData.ConvertTile(), RenderDataObjAdd.Draw(), RenderDataObjV.Draw(), RenderDataTile.Draw(), CardRenderer.Draw(), RenderRow.GetSprite(), RenderRow.SetRenderData(), RenderRow.SetTiles(), SourceChara.Row.SetTiles(), and SourceThing.Row.SetTiles().
Texture MeshPass.preserveTex |
Definition at line 75 of file MeshPass.cs.
int MeshPass.renderQueue |
Definition at line 37 of file MeshPass.cs.
Referenced by Draw().
|
private |
Definition at line 72 of file MeshPass.cs.
Referenced by Draw(), and NextBatch().
bool MeshPass.setColor |
Definition at line 31 of file MeshPass.cs.
Referenced by Add(), Draw(), and MeshBatch.MeshBatch().
bool MeshPass.setExtra |
Definition at line 35 of file MeshPass.cs.
Referenced by MeshBatch.MeshBatch().
bool MeshPass.setMatColor |
Definition at line 33 of file MeshPass.cs.
Referenced by Add(), Draw(), and MeshBatch.MeshBatch().
bool MeshPass.setTile |
Definition at line 29 of file MeshPass.cs.
Referenced by Add(), AddShadow(), and Draw().
MeshPass MeshPass.shadowPass |
Definition at line 19 of file MeshPass.cs.
Referenced by _Refresh(), Draw(), RenderData.DrawShadow(), and Init().
MeshPass MeshPass.snowPass |
Definition at line 17 of file MeshPass.cs.
Referenced by _Refresh(), Draw(), Assets.Resources.Scene.Render.RenderDataRoof.Draw(), RenderDataObj.Draw(), RenderDataObjAdd.Draw(), RenderDataObjV.Draw(), RenderDataTile.Draw(), Init(), RenderData.Init(), and TextureManager.Init().
Sprite MeshPass.sprite |
Definition at line 27 of file MeshPass.cs.
Referenced by _Refresh(), and SpriteToMesh().
MeshPass MeshPass.subPass |
Definition at line 15 of file MeshPass.cs.
Referenced by _Refresh(), Draw(), Assets.Resources.Scene.Render.RenderDataRoof.Draw(), RenderData.Draw(), RenderDataObj.Draw(), RenderDataObjAdd.Draw(), RenderDataObjV.Draw(), RenderDataTile.DrawWithRotation(), Init(), and RenderData.Init().
|
private |
Definition at line 81 of file MeshPass.cs.
Referenced by AddShadow(), and AddWithRotation().
|
private |
Definition at line 79 of file MeshPass.cs.
|
static |
Definition at line 9 of file MeshPass.cs.
|
static |
Definition at line 11 of file MeshPass.cs.
|
static |
Definition at line 13 of file MeshPass.cs.
|
getset |
Definition at line 86 of file MeshPass.cs.