Struct FrustumPlanes
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
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
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 |
|
Single |
radius |
|
Returns
Intersect2(NativeArray<FrustumPlanes.PlanePacket4>, AABB)
Declaration
public static FrustumPlanes.IntersectResult Intersect2(NativeArray<FrustumPlanes.PlanePacket4> cullingPlanePackets, AABB a)
Parameters
Returns
Intersect2NoPartial(NativeArray<FrustumPlanes.PlanePacket4>, AABB)
Declaration
public static FrustumPlanes.IntersectResult Intersect2NoPartial(NativeArray<FrustumPlanes.PlanePacket4> cullingPlanePackets, AABB a)
Parameters
Returns