Struct FrustumPlanes | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct FrustumPlanes

    Namespace: Unity.Rendering
    Syntax
    public struct FrustumPlanes

    Methods

    BuildSOAPlanePackets(NativeArray<Plane>, Allocator)

    Declaration
    public static NativeArray<FrustumPlanes.PlanePacket4> BuildSOAPlanePackets(NativeArray<Plane> cullingPlanes, Allocator allocator)
    Parameters
    Type Name Description
    NativeArray<Plane> cullingPlanes
    Allocator allocator
    Returns
    Type Description
    NativeArray<FrustumPlanes.PlanePacket4>

    FromCamera(Camera, NativeArray<float4>)

    Declaration
    public static void FromCamera(Camera camera, NativeArray<float4> planes)
    Parameters
    Type Name Description
    Camera camera
    NativeArray<float4> planes

    Intersect(NativeArray<float4>, AABB)

    Declaration
    public static FrustumPlanes.IntersectResult Intersect(NativeArray<float4> cullingPlanes, AABB a)
    Parameters
    Type Name Description
    NativeArray<float4> cullingPlanes
    AABB a
    Returns
    Type Description
    FrustumPlanes.IntersectResult

    Intersect(NativeArray<float4>, float3, Single)

    Declaration
    public static FrustumPlanes.IntersectResult Intersect(NativeArray<float4> planes, float3 center, float radius)
    Parameters
    Type Name Description
    NativeArray<float4> planes
    float3 center
    System.Single radius
    Returns
    Type Description
    FrustumPlanes.IntersectResult

    Intersect2(NativeArray<FrustumPlanes.PlanePacket4>, AABB)

    Declaration
    public static FrustumPlanes.IntersectResult Intersect2(NativeArray<FrustumPlanes.PlanePacket4> cullingPlanePackets, AABB a)
    Parameters
    Type Name Description
    NativeArray<FrustumPlanes.PlanePacket4> cullingPlanePackets
    AABB a
    Returns
    Type Description
    FrustumPlanes.IntersectResult

    Intersect2NoPartial(NativeArray<FrustumPlanes.PlanePacket4>, AABB)

    Declaration
    public static FrustumPlanes.IntersectResult Intersect2NoPartial(NativeArray<FrustumPlanes.PlanePacket4> cullingPlanePackets, AABB a)
    Parameters
    Type Name Description
    NativeArray<FrustumPlanes.PlanePacket4> cullingPlanePackets
    AABB a
    Returns
    Type Description
    FrustumPlanes.IntersectResult
    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