SphereDefinition Struct

Assembly
FlexiMotion.dll
Namespace
FlexiMotion
Interfaces
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IEquatable<SphereDefinition>"] Type-.->Interface1["ISerializationCallbackReceiver"] Type["SphereDefinition"] class Type type-node

Syntax

[Serializable]
public struct SphereDefinition : ValueType, IEquatable<SphereDefinition>, 
    ISerializationCallbackReceiver

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
SphereDefinition(float3, float) Creates a new FlexiMotion.SphereDefinition.

Fields

Name Constant Value Summary
position
[UnityEngine.SerializeField] The local position of this sphere.
radius
[UnityEngine.SerializeField] The size of this sphere.

Properties

Name Value Summary
IsValid bool
Are all fields valid?

Methods

Name Value Summary
Equals(Object) bool
Are all fields in this object equal to the equivalent in `obj`?
Equals(SphereDefinition) bool
Are all fields in this object equal to the equivalent fields in `other`?
GetHashCode() int
Returns a hash code based on the values of this object's fields.
ToString() string
Returns a string representation of this object.
Validate() void
Ensures that all fields have valid values.

Operators

Name Value Summary
operator !=(SphereDefinition, SphereDefinition) bool
operator ==(SphereDefinition, SphereDefinition) bool

Extension Methods

Name Value Summary
LogTemp<SphereDefinition>(Object) T
Debug.Log(message, context) with an [System.ObsoleteAttribute] warning so you remember to remove any calls.
SafeGetHashCode<SphereDefinition>() int
Uses System.Collections.Generic.EqualityComparer`1.Default to get a hash code.