docs.unity3d.com
    Show / Hide Table of Contents

    Struct GhostDistanceImportance

    Singleton component used to control distance based importance settings

    Namespace: Unity.NetCode
    Syntax
    [BurstCompile]
    public struct GhostDistanceImportance : IComponentData

    Fields

    ScaleImportanceByDistance

    Declaration
    public PortableFunctionPointer<GhostDistanceImportance.ScaleImportanceByDistanceDelegate> ScaleImportanceByDistance
    Field Value
    Type Description
    PortableFunctionPointer<GhostDistanceImportance.ScaleImportanceByDistanceDelegate>

    TileBorderWidth

    Declaration
    public float3 TileBorderWidth
    Field Value
    Type Description
    float3

    TileCenter

    Declaration
    public int3 TileCenter
    Field Value
    Type Description
    int3

    TileSize

    Declaration
    public int3 TileSize
    Field Value
    Type Description
    int3

    Properties

    DefaultScaleFunctionPointer

    Declaration
    public static readonly PortableFunctionPointer<GhostDistanceImportance.ScaleImportanceByDistanceDelegate> DefaultScaleFunctionPointer { get; }
    Property Value
    Type Description
    PortableFunctionPointer<GhostDistanceImportance.ScaleImportanceByDistanceDelegate>

    NoScaleFunctionPointer

    Declaration
    public static readonly PortableFunctionPointer<GhostDistanceImportance.ScaleImportanceByDistanceDelegate> NoScaleFunctionPointer { get; }
    Property Value
    Type Description
    PortableFunctionPointer<GhostDistanceImportance.ScaleImportanceByDistanceDelegate>
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 on 18 October 2023