Skip to content

editorGlobalsSameOrientationCriterion

Class: SameOrientationCriterion

Counts how many plates in the placed boxel align with plates in the base mesh.

Hierarchy

SameOrientationCriterion

Index

Constructors

Methods

Constructors

constructor

+ new SameOrientationCriterion(): SameOrientationCriterion

Inherited from GridInferrerCriterion.constructor

Defined in src/modules/kyub.core.boxel/src/GridInferring/GridInferrerCriterion.ts:10

Returns: SameOrientationCriterion

Methods

score

score(context: AlignmentContext, meshPoint: Vector3, occurrences: number): number

Overrides GridInferrerCriterion.score

Defined in src/modules/kyub.core.boxel/src/GridInferring/SameOrientationCriterion.ts:10

Parameters:

Name Type
context AlignmentContext
meshPoint Vector3
occurrences number

Returns: number