docs.unity3d.com
    目次を表示する/隠す

    Struct PlaneVoxel

    Namespace: Unity.MARS.Data.Synthetic
    Syntax
    [MovedFrom("Unity.MARS")]
    public struct PlaneVoxel

    Fields

    LayerCoordinates

    The column and row in the layer where this voxel exists

    Declaration
    public Vector2Int LayerCoordinates
    Field Value
    Type Description
    Vector2Int

    PointDensity

    Number of points within this voxel. A voxel only contributes to a plane if its point density exceeds a minimum threshold.

    Declaration
    public int PointDensity
    Field Value
    Type Description
    Int32

    PointYOffset

    Average local y offset of all points within this voxel. If a voxel is part of a plane, this value affects the y offset of the plane relative to the layer origin.

    Declaration
    public float PointYOffset
    Field Value
    Type Description
    Single
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)