Struct JobCalculateConnections Extends IJobParallelForBatched
    Public
    
    Calculates the grid connections for a set of nodes.
This is a IJobParallelForBatch job. Calculating the connections in multiple threads is faster but due to hyperthreading (used on most intel processors) the individual threads will become slower. It is still worth it though.
Public Methods
        
                Execute
        
                (start, count)
    
                
                
                    Public
                
            
        
                IsValidConnection
        
                (nodePosA, nodeNormalA, nodeB, up)
    
                
                Check if a connection to node B is valid.
                    Public
                
            Public Variables
        
                allowBoundsChecks
        
    
                
                
                    Public
                
            
        
                bounds
        
    
                
                
                    Public
                
            
        
                cutCorners
        
    
                
                
                    Public
                
            
        
                maxStepHeight
        
    
                
                
                    Public
                
            
        
                maxStepUsesSlope
        
    
                
                
                    Public
                
            
        
                neighbours
        
    
                
                
                    Public
                
            
        
                nodeConnections
        
    
                
                All bitpacked node connections.
                    Public
                
            
        
                nodeNormals
        
    
                
                
                    Public
                
            
        
                nodePositions
        
    
                
                
                    Public
                
            
        
                nodeWalkable
        
    
                
                
                    Public
                
            
        
                up
        
    
                
                Normalized up direction.
                    Public
                
            
        
                use2D
        
    
                
                
                    Public