docs.unity3d.com
Version: 

    Class Distance

    Distance defines a distance in millimeters (in scripts). In the GUI, the unit can be modified

    Base class: Double

    classDiagram
        class Distance
        Double <|-- Distance
    

    Functions accepting this type or a list of this type as a parameter:

    • algo.assembleCAD
    • algo.decimate
    • algo.decimateEdgeCollapse
    • algo.decimatePointClouds
    • algo.extractNeutralAxis
    • algo.filterHiddenPolygons
    • algo.listFeatures
    • algo.mergeVertices
    • algo.noiseMesh
    • algo.removeHoles
    • algo.repairCAD
    • algo.sweep
    • algo.tessellate
    • algo.tessellateRelativelyToAABB
    • algo.voxelizePointClouds
    • algo.transferUV
    • algo.explodeByVoxel
    • algo.createVisibilityInformationAdvanced
    • algo.findOccludedPartOccurrencesAdvanced
    • algo.removeOccludedGeometriesAdvanced
    • algo.createOcclusionMesh
    • algo.dualContouring
    • algo.marchingCubes
    • algo.proxyMesh
    • algo.retopologize
    • algo.voxelize
    • algo.mapUvOnAABB
    • algo.mapUvOnCubicAABB
    • algo.mapUvOnCustomAABB
    • algo.mapUvOnMBB
    • algo.resizeUVsToTextureSize
    • algo.bakeMaps
    • algo.createCavityOccurrences
    • algo.remeshSurfacicHoles
    • algo.removeDegeneratedPolygons
    • algo.repairMesh
    • algo.sewBoundary
    • algo.vertexOffset
    • algo.orientPolygonFacesAdvanced
    • cad.setUnitLength
    • cad.createCircleCurve
    • cad.createCosinusCurve
    • cad.createEllipseCurve
    • cad.createHelixCurve
    • cad.createModel
    • cad.startThreadBrepSession
    • cad.createConeSurface
    • cad.createCylinderSurface
    • cad.createEllipticConeSurface
    • cad.createSphereSurface
    • cad.createTabulatedCylinderSurface
    • cad.createTorusSurface
    • geom.fromLookAtMatrix
    • geom.orthographicMatrix
    • geom.perspectiveMatrix
    • scene.getViewpointsFromCavities
    • scene.findDuplicatedPartOccurrences
    • scene.findPartOccurrencesByMaximumSize
    • algo.decimateEdgeCollapse
    • algo.evalDecimateErrorForTarget
    • algo.filletMesh
    • algo.findBestPivotBetweenOccurrences
    • algo.getOptimalTextureResolution
    • algo.getVisualComparisonFootprint
    • algo.optimizeTextureSize
    • algo.tessellate
    • algo.tessellateRelativelyToAABB
    • algo.convexDecomposition
    • algo.createVisibilityInformation
    • algo.createVisibilityInformationFromViewPoints
    • algo.findOccludedPartOccurrences
    • algo.removeOccludedGeometries
    • algo.removeOccludedGeometriesFromPoints
    • algo.removeOccludedGeometriesFromViewPoints
    • algo.dualContouring
    • algo.sawWithOctree
    • algo.sawWithPlane
    • algo.alignUVIslands
    • algo.automaticUVMapping
    • algo.mergeUVIslandsAffine
    • algo.mergeUVIslandsRelaxed
    • algo.scaleUV
    • algo.unwrapUV
    • algo.orientPolygonFacesFromCamera
    • algo.createVertexWeightsFromVertexColors
    • algo.createVertexWeightsFromVisibilityAttributes
    • cad.createHyperbolaCurve
    • cad.createIntersectionCurve
    • cad.createNURBSCurve
    • cad.createParabolaCurve
    • cad.createPolylineCurve
    • cad.invertCurve
    • cad.createLinearExtrusion
    • cad.createRevolveExtrusion
    • cad.createBRepCone
    • cad.createBRepCube
    • cad.createBRepCylinder
    • cad.createBRepPlane
    • cad.createBRepSphere
    • cad.createBRepTorus
    • cad.evalCurvatureOnCurve
    • cad.evalOnCurve
    • cad.getParametricPrecisionOnSurface
    • cad.invertOnCurve
    • cad.invertOnSurface
    • cad.projectOnCurve
    • cad.projectOnSurface
    • cad.createConeSurface
    • cad.createEllipticConeSurface
    • cad.createNURBSSurface
    • cad.createOffsetSurface
    • cad.createRevolutionSurface
    • geom.orthographicMatrix
    • geom.perspectiveMatrix
    • io.splitPointCloud
    • material.convertFloat32To8BitsImage
    • material.convertHeightMapToNormalMap
    • material.filterAO
    • material.getPointsAndMaterialFromText
    • polygonal.createMeshFromText
    • scene.createOccurrenceFromText
    • scene.generateOctaViews
    • scene.generateOctree
    • scene.createCapsule
    • scene.createCone
    • scene.createCube
    • scene.createCylinder
    • scene.createImmersion
    • scene.createPlane
    • scene.createSphere
    • scene.createTorus
    • scene.addLightComponent
    • scene.createLight
    • scene.addKeyframe
    • scene.decimateAnimChannelBySegment
    • scene.updateSphereProber
    • view.playAnimation
    • view.setAnimationSpeed
    Inheritance
    Distance
    Namespace: Geom
    Syntax
    Version 2025.2.0.1
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.