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

    Class PlaneVoxelGenerationParams

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

    Fields

    maxHitDistance

    Declaration
    [Tooltip("Maximum hit distance for each raycast")]
    public float maxHitDistance
    Field Value
    Type Description
    Single

    normalToleranceAngle

    Declaration
    [Tooltip("If the angle between a point's normal and a voxel grid direction is within this range, the point is added to the grid")]
    public float normalToleranceAngle
    Field Value
    Type Description
    Single

    outerPointsThreshold

    Declaration
    [Tooltip("Points that are within this distance from the bounds outer side facing the same way as the point's normal will be ignored")]
    public float outerPointsThreshold
    Field Value
    Type Description
    Single

    raycastCount

    Declaration
    [Tooltip("Number of raycasts used to generate a point cloud")]
    public int raycastCount
    Field Value
    Type Description
    Int32

    raycastSeed

    Declaration
    [Tooltip("Seed with which to initialize the random number generator used to create rays")]
    public int raycastSeed
    Field Value
    Type Description
    Int32

    voxelSize

    Declaration
    [Tooltip("Side length of each voxel")]
    public float voxelSize
    Field Value
    Type Description
    Single
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)