Class GridCellF<O>
The cell of a GridF<P>.
Inheritance
System.Object
GridCellF<O>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Structures
Assembly: Fusee.Structures.dll
Syntax
public class GridCellF<O> : IBucket<float3, float3>
Type Parameters
Name | Description |
---|---|
O | The type of the payload. |
Constructors
GridCellF(float3, float3)
Creates a new instance of type GridCell.
Declaration
public GridCellF(float3 center, float3 size)
Parameters
Type | Name | Description |
---|---|---|
float3 | center | The center of the cell. |
float3 | size | The size of the cell. |
Properties
Center
Center of this Bucket in world space coordinates.
Declaration
public float3 Center { get; }
Property Value
Type | Description |
---|---|
float3 |
Payload
The payload.
Declaration
public O Payload { get; set; }
Property Value
Type | Description |
---|---|
O |
Size
Length, width and height of this Octant.
Declaration
public float3 Size { get; }
Property Value
Type | Description |
---|---|
float3 |