Romestead Assembly Reference

Candide.World.AutoMesh.AutoMesher

Type JSON

public class in Candide.World.AutoMesh

Methods14
Properties0
Fields8
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.World.AutoMesh
  • Base typeSystem.Object
  • Hash3A9284B11843FEB89A7388B69AF6D154780915747D070FDC32EE0D73DF262E44

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
IntReuseListprivateprivate System.Collections.Generic.List<System.Int32> IntReuseList
MeshReUseVertexListprivateprivate System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn> MeshReUseVertexList
PointReuseSetprivateprivate System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Point> PointReuseSet
PointReuseSet2privateprivate System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Point> PointReuseSet2
PointReuseStackprivateprivate System.Collections.Generic.Stack<Microsoft.Xna.Framework.Point> PointReuseStack
VectorReuseListprivateprivate System.Collections.Generic.List<Microsoft.Xna.Framework.Vector3> VectorReuseList
WaterInnerCornerVerticesprivateprivate Microsoft.Xna.Framework.Vector3[][] WaterInnerCornerVertices
WaterUpVerticesprivateprivate Microsoft.Xna.Framework.Vector3[][] WaterUpVertices

Methods

AddMesh

private System.Void AddMesh(System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn> vertices, Microsoft.Xna.Framework.Vector3[] meshVertices, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Vector3 extraOffset)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashB1D43F91CE45318B5EA5F8EB5A3FC7BC2AC39244F33417DF5AA642B528E1949E
  • Body hashDB8D0FA65302B980BEADCFAAE9A282742CC94D021E2706D5535AC82E45A4A43E
  • IL size178
Referenced calls
Called by

AddPlainsCliffCornerMeshes

private System.Void AddPlainsCliffCornerMeshes(System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn> vertices, System.Int32 x, System.Int32 y, System.Int32 xSize, System.Int32 ySize, System.Int32 mask, System.Int32 height, System.SByte[,] tileHeights)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash031DB1259E82BCDCE14F4129E126C6039145F19438A19703C7E61640C671AF68
  • Body hashCE62681FDC6B4B071E5993257B2928F7C8538D7641F7111F165B236F35D3A8D6
  • IL size148
Referenced calls

AddWaterCornerMeshes

private System.Void AddWaterCornerMeshes(System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn> vertices, System.Int32 x, System.Int32 y, System.Int32 xSize, System.Int32 ySize, System.Int32 mask, System.Int32 height, System.SByte[,] tileHeights)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash0F0D56FED98EAA773189144BC9AF7BF9442F4A81DE51B10086614B977D565281
  • Body hashB4D37F2B1F3C8B0EAE99495AD31CF90329ED91FC36CCABDF84A99AC493ECB175
  • IL size263
Referenced calls
Called by

BuildCliffRuleMeshes

private System.Void BuildCliffRuleMeshes(Candide.World.AutoTile.AutoTileRuleSet ruleSet, System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn> vertices, Shared.Models.WorldTile[,] worldTiles, System.Int32 startX, System.Int32 startY, System.Int32 endX, System.Int32 endY, System.Int32 xSize, System.Int32 ySize)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashE82D9F4D35CDC9733471B5D2D79C85A6FE6F6ABD52111A4623909B5016E55B70
  • Body hash2911500C8F7B6279A0605299FB5137D088ABAC0F9EC139595BC0E43334EA9D06
  • IL size160
Referenced calls
Called by

BuildMeshTbn

public System.Void BuildMeshTbn(Shared.Models.WorldTile[,] tiles, System.SByte[,] tileHeights, System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn> verticesOut, System.Int32 xStart, System.Int32 yStart, System.Int32 xEnd, System.Int32 yEnd)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash666C559D640E2C72E684653FEEC51335D1ED7020A86709F5B9BED600E23A5334
  • Body hash8C9A22AC394340AA55ABD060C6E04A4C989AA831734D2F382C2FBFBE38D4EC95
  • IL size2615
Referenced calls
Called by

BuildSmoothPlainsCliffMeshes

private System.Void BuildSmoothPlainsCliffMeshes(System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn> vertices, Shared.Models.WorldTile[,] worldTiles, System.SByte[,] tileHeights, System.Int32 startX, System.Int32 startY, System.Int32 endX, System.Int32 endY, System.Int32 xSize, System.Int32 ySize)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash2198D2E7CC37A4B4EEB685DC9F746E2C5DA946193318AD7972154199A4315C7F
  • Body hash07ED67DB72F41057EA145FF0BD695F15DC587DC41A2CE3F65101E6861967ED0B
  • IL size256
Referenced calls

BuildSmoothWaterMeshes

private System.Void BuildSmoothWaterMeshes(System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn> vertices, Shared.Models.WorldTile[,] worldTiles, System.SByte[,] tileHeights, System.Int32 startX, System.Int32 startY, System.Int32 endX, System.Int32 endY, System.Int32 xSize, System.Int32 ySize)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashBDE6B50BF3849D48D60CABE8DE7A385D45D4BA3393116BC1D8638CBD669F8927
  • Body hash558842CD12CDC2B59AF2EE1A44CD4003F8697E64A0E70B68AB7617D6BEC4A809
  • IL size241
Referenced calls

CalculateTbn

private System.ValueTuple<Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3> CalculateTbn(Microsoft.Xna.Framework.Vector3 v1, Microsoft.Xna.Framework.Vector3 v2, Microsoft.Xna.Framework.Vector3 v3)

Method metadata
  • Visibilityprivate
  • Return typeSystem.ValueTuple<Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3>
  • StaticTrue
  • VirtualFalse
  • Hash88A16B56F3A0FDF1E9CB189819AB3610F9F4B0F3EA1F4CD17D8C63024965C580
  • Body hashC6D74D1D9877036063E6050AA4F12AE665D250FE35DCFC712966837885607BAA
  • IL size180
Referenced calls
  • Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
  • Microsoft.Xna.Framework.Vector3::Cross(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
  • Microsoft.Xna.Framework.Vector3::Normalize()
  • Microsoft.Xna.Framework.Vector3::get_UnitY()
  • Microsoft.Xna.Framework.Vector3::Dot(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
  • System.Math::Abs(System.Single)
  • Microsoft.Xna.Framework.Vector3::get_UnitX()
  • Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)
  • System.ValueTuple<Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3>::.ctor(!0, !1, !2)
Called by

CreateZoneMesh

private System.Void CreateZoneMesh(Candide.World.WorldChunk chunk, Microsoft.Xna.Framework.Vector4 color, WaterZone.WaterZoneType zoneType, System.Single height, System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Point> found, System.Int32 tileSize)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashB0D7D6DD7A6FF32627B96D0928AE71A4CD341ADD4CDB364E3DF44C047DDBEEB9
  • Body hashC0B090BF1CE56EC29BA65FD924D03E190C3D65874780DC28AF5BEE6152888149
  • IL size574
Referenced calls
  • System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Point>::GetEnumerator()
  • HashSet.Enumerator<Microsoft.Xna.Framework.Point>::get_Current()
  • HashSet.Enumerator<Microsoft.Xna.Framework.Point>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Vector3>::Clear()
  • System.Collections.Generic.List<System.Int32>::Clear()
  • Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)
  • System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Point>::Contains(!0)
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Vector3>::get_Count()
  • Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Vector3>::Add(!0)
  • System.Collections.Generic.List<System.Int32>::Add(!0)
  • CandideCreator.Shared.Models.IndexedMesh::CreateFromLists(Microsoft.Xna.Framework.Graphics.GraphicsDevice, System.Collections.Generic.List<Microsoft.Xna.Framework.Vector3>, System.Collections.Generic.List<System.Int32>)
  • CandideCreator.Shared.Models.WaterZone::.ctor(CandideCreator.Shared.Models.IndexedMesh)
  • System.Collections.Generic.List<CandideCreator.Shared.Models.WaterZone>::Add(!0)
Called by

MakeMesh

public System.Void MakeMesh(Candide.World.WorldChunk chunk, Candide.World.AutoTile.AutoTileRuleSet ruleSet, Shared.Models.WorldTile[,] worldTiles, System.SByte[,] tileHeights, System.Int32 startX, System.Int32 startY, System.Int32 endX, System.Int32 endY, System.Int32 xSize, System.Int32 ySize, System.Boolean buildCollisions)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6B20BDCABAD6B5222A58FDF256385CD775DB47BF8B0234D396ADE7320EFEA254
  • Body hash22EDA106C04442B166379DBEA90039C2EE9EC58E2CD5B69913779B9045AAAE12
  • IL size472
Referenced calls
Called by

MakeMesh

public System.Void MakeMesh(System.Collections.Generic.List<CandideCreator.Shared.GraphicsModels.VertexTbn> verticesOut, Candide.World.AutoTile.AutoTileRuleSet ruleSet, Shared.Models.WorldTile[,] worldTiles, System.SByte[,] tileHeights, System.Int32 startX, System.Int32 startY, System.Int32 endX, System.Int32 endY, System.Int32 xSize, System.Int32 ySize)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashF678E6CAFC749AF2503131B20E0AF7CA4AF31E87121A6E8FE50FF13BB9425585
  • Body hash5A9F6680E213237AB28A13C70C910332BC1587C36087D5A1378D5563DBBB08BA
  • IL size152
Referenced calls
Called by

MeshGroundZone

private System.Void MeshGroundZone(Candide.World.WorldChunk chunk, Shared.Models.WorldTile[,] worldTiles, System.Int32 xStart, System.Int32 yStart, System.Int32 xEnd, System.Int32 yEnd, WorldTile.GroundType targetType, Microsoft.Xna.Framework.Vector4 color, WaterZone.WaterZoneType zoneType, System.Single height)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash281C2856C375C17700019EAA2DF9387727751FEFE52A7D6A16847D7FF51A4097
  • Body hash4BBBDF8B93607D4E1ACE561536C1B992B04DE9C0B195904D702F4B961F7D8037
  • IL size412
Referenced calls
Called by

MeshStructureZone

private System.Void MeshStructureZone(Candide.World.WorldChunk chunk, Shared.Models.WorldTile[,] worldTiles, System.Int32 xStart, System.Int32 yStart, System.Int32 xEnd, System.Int32 yEnd, WorldTile.StructureType targetType, Microsoft.Xna.Framework.Vector4 color, WaterZone.WaterZoneType zoneType, System.Single height)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash993F45BECCCAE8B2DA1709EC9DA1384232FA8B68978E22C8280E42C6AA7F8EEE
  • Body hash351B9659CEB12EF75B81B896EC46649553B2D3B2685FF6F60D226D5B6844F32C
  • IL size412
Referenced calls
Called by

SetupWater

private System.Void SetupWater(Candide.World.WorldChunk chunk, Shared.Models.WorldTile[,] worldTiles, System.Int32 xStart, System.Int32 yStart, System.Int32 xEnd, System.Int32 yEnd)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash4DDD362C3A5EE5C5B89F3151DA34BDEE5C9FF2B6C6066CA5650B4651536E497F
  • Body hash369750F585D9FDA7EFE9F0B5BCBB1542F3F314961D415B01399976D229A22F18
  • IL size204
Referenced calls
Called by