docs.unity3d.com
    显示 / 隐藏目录

    Class VoxelPlaneFindingParams

    Inheritance
    Object
    VoxelPlaneFindingParams
    Namespace: Unity.MARS
    Syntax
    [Serializable]
    public class VoxelPlaneFindingParams

    Fields

    allowedEmptyAreaCurve

    Declaration
    [Tooltip("Curve that maps the area of a plane to the ratio of area that is allowed to be empty")]
    public AnimationCurve allowedEmptyAreaCurve
    Field Value
    Type Description
    AnimationCurve

    checkEmptyArea

    Declaration
    [Tooltip("When enabled, planes will only be created if they do not contain too much empty area")]
    public bool checkEmptyArea
    Field Value
    Type Description
    Boolean

    crossLayerMergeDistance

    Declaration
    [Tooltip("Planes in adjacent layers with an elevation difference of at most this much will be merged")]
    public float crossLayerMergeDistance
    Field Value
    Type Description
    Single

    inLayerMergeDistance

    Declaration
    [Tooltip("Planes within the same layer that are at most this distance from each other will be merged")]
    public float inLayerMergeDistance
    Field Value
    Type Description
    Single

    minPointsPerSqMeter

    Declaration
    [Tooltip("Voxel point density threshold that is independent of voxel size")]
    public int minPointsPerSqMeter
    Field Value
    Type Description
    Int32

    minSideLength

    Declaration
    [Tooltip("A plane with x or y extent less than this value will be ignored")]
    public float minSideLength
    Field Value
    Type Description
    Single
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)