docs.unity3d.com
    Show / Hide Table of Contents

    Struct GhostConnectionPosition

    Add this component to each connection to determine which tiles the connection should prioritize. This will be passed as argument to the built-in scale function to compute Importance. See GhostDistanceImportance implementation.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    Syntax
    public struct GhostConnectionPosition : IComponentData, IQueryTypeParameter

    Fields

    Position

    Position of the tile in world coordinates

    Declaration
    public float3 Position
    Field Value
    Type Description
    float3

    Rotation

    Currently not updated by any systems. Made available for custom importance implementations.

    Declaration
    public quaternion Rotation
    Field Value
    Type Description
    quaternion

    ViewSize

    Currently not updated by any systems. Made available for custom importance implementations.

    Declaration
    public float4 ViewSize
    Field Value
    Type Description
    float4
    Back to top
    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