• Articles
  • Api Documentation
Show / Hide Table of Contents
  • AlchemyBow.Navigation
    • AlchemyNavigationSystem
    • BasicAgent
    • FacesHolder
    • NavigationAct
    • NavigationFaceWrapper
    • NavigationInfo
    • PathfindingRequest
    • PathfindingRequest.PathType
    • PathfindingRequest.Status
  • AlchemyBow.Navigation.BackgroundProcessing
    • BackgroundProcessor
    • BackgroundProcessor.States
    • BuildingProcess
    • IBackgroundCommand
    • PathfindingProcess
    • RegisterFaceCommand
    • UnregisterFaceCommand
  • AlchemyBow.Navigation.Collections
    • OrderedSet<T>
    • OrderedSetNode<T>
    • OrderedSetRangeComparer<T>
  • AlchemyBow.Navigation.DebugUnits
    • AlchemyNavigationSystemDebugUnit
    • CompositeSurfaceDrawer
    • GizmosSurfaceDrawer
    • ISurfaceDrawer
    • MinimalGizmosSurfaceDrawer
  • AlchemyBow.Navigation.HighLevel
    • MeshBasedBake
    • MeshBasedBakeGroup
    • MeshBasedBakeSettings
    • WorldMesh
  • AlchemyBow.Navigation.PropertyAttributes
    • AreaIndexAttribute
    • AreaMaskAttribute
    • LayerIndexAttribute
  • AlchemyBow.Navigation.Settings
    • AlchemyNavigationSettingsPreset
    • NavigationAreaSettings
    • NavigationLayerSettings
    • NavigationSettings
  • AlchemyBow.Navigation.Simple
    • SimpleAgent
  • AlchemyBow.Navigation.Simple.Elements
    • AvoidanceGroup
    • AvoidanceModifier
    • CachedFace
    • ISteeredBehaviour
    • MovementModifier
    • PathProgress
  • AlchemyBow.Navigation.Surfaces
    • Edge
    • Face
    • FacesByMagnitudeRangeComparer
    • NavigationSurface
    • SurfaceRaycastHit
    • Usage<TUser>
    • UsageTrackingObject<TUser>
    • Vertex
    • VertexByPositionComparer
  • AlchemyBow.Navigation.Surfaces.SafeAccess
    • IImmutableFace
    • SurfaceImmutableRaycastHit
  • AlchemyBow.Navigation.Utilities
    • ChannelUnwrapper
    • FaceAStar
    • FaceStarUnit
    • Funnel
    • ICommand

Class MeshBasedBake

Performs and holds a result of the baking process.

Inheritance
System.Object
MeshBasedBake
Namespace: AlchemyBow.Navigation.HighLevel
Assembly: AlchemyBow.Navigation.dll
Syntax
public sealed class MeshBasedBake

Properties

| Improve this Doc View Source

OmittedTriangles

Gets the number of triangles that were omitted during the baking process.

Declaration
public int OmittedTriangles { get; }
Property Value
Type Description
System.Int32

The number of triangles that were omitted during the baking process.

| Improve this Doc View Source

Triangles

Gets a duplicate of the triangles;

Declaration
public int[] Triangles { get; }
Property Value
Type Description
System.Int32[]

A duplicate of the triangles.

| Improve this Doc View Source

Vertices

Gets a duplicate of the vertices.

Declaration
public Vector3[] Vertices { get; }
Property Value
Type Description
UnityEngine.Vector3[]

A duplicate of the vertices.

Methods

| Improve this Doc View Source

Bake(MeshFilter[], MeshBasedBakeSettings)

Creates the instance of the MeshBasedBake class that holds the result of baking.

Declaration
public static MeshBasedBake Bake(MeshFilter[] sources, MeshBasedBakeSettings settings)
Parameters
Type Name Description
UnityEngine.MeshFilter[] sources

Mesh sources.

MeshBasedBakeSettings settings

A settings for the baking process.

Returns
Type Description
MeshBasedBake

The instance of the MeshBasedBake class that holds the result of baking.

| Improve this Doc View Source

GroupTrianglesByConnection()

Splits result triangles into groups by their connections.

Declaration
public int[][] GroupTrianglesByConnection()
Returns
Type Description
System.Int32[][]

The result triangles splited into groups.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX