Struct CollisionFilter
Syntax
public struct CollisionFilter : IEquatable<CollisionFilter>
Fields
BelongsTo
Declaration
Field Value
CollidesWith
Declaration
Field Value
Default
Declaration
public static readonly CollisionFilter Default
Field Value
GroupIndex
Declaration
Field Value
Zero
Declaration
public static readonly CollisionFilter Zero
Field Value
Properties
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
IsValid
Declaration
[Obsolete("IsValid has been deprecated. Use !IsEmpty instead. (RemovedAfter 2020-04-30)")]
public bool IsValid { get; }
Property Value
Methods
CreateUnion(CollisionFilter, CollisionFilter)
Declaration
public static CollisionFilter CreateUnion(CollisionFilter filterA, CollisionFilter filterB)
Parameters
Returns
Equals(CollisionFilter)
Declaration
public bool Equals(CollisionFilter other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
IsCollisionEnabled(CollisionFilter, CollisionFilter)
Declaration
public static bool IsCollisionEnabled(CollisionFilter filterA, CollisionFilter filterB)
Parameters
Returns