Struct NetickBounds
- Namespace
- Netick
- Assembly
- Netick.dll
public struct NetickBounds : IEquatable<NetickBounds>
- Implements
-
- Inherited Members
-
Constructors
NetickBounds(Vector3, Vector3)
public NetickBounds(Vector3 center, Vector3 size)
Parameters
center
Vector3
size
Vector3
Fields
Center
Field Value
- Vector3
Extents
Field Value
- Vector3
Properties
Max
public Vector3 Max { get; set; }
Property Value
- Vector3
Min
public Vector3 Min { get; set; }
Property Value
- Vector3
Size
public Vector3 Size { get; set; }
Property Value
- Vector3
Methods
Encapsulate(NetickBounds)
public void Encapsulate(NetickBounds bounds)
Parameters
bounds
NetickBounds
Encapsulate(Vector3)
public void Encapsulate(Vector3 point)
Parameters
point
Vector3
Equals(NetickBounds)
public bool Equals(NetickBounds other)
Parameters
other
NetickBounds
Returns
- bool
Equals(object)
public override bool Equals(object other)
Parameters
other
object
Returns
- bool
Expand(Vector3)
public void Expand(Vector3 amount)
Parameters
amount
Vector3
Expand(float)
public void Expand(float amount)
Parameters
amount
float
GetHashCode()
public override int GetHashCode()
Returns
- int
Intersects(NetickBounds)
public bool Intersects(NetickBounds bounds)
Parameters
bounds
NetickBounds
Returns
- bool
SetMinMax(Vector3, Vector3)
public void SetMinMax(Vector3 min, Vector3 max)
Parameters
min
Vector3
max
Vector3
Operators
operator ==(NetickBounds, NetickBounds)
public static bool operator ==(NetickBounds lhs, NetickBounds rhs)
Parameters
lhs
NetickBounds
rhs
NetickBounds
Returns
- bool
operator !=(NetickBounds, NetickBounds)
public static bool operator !=(NetickBounds lhs, NetickBounds rhs)
Parameters
lhs
NetickBounds
rhs
NetickBounds
Returns
- bool