DirectionLength Struct

Summary

A vector decomposed into FlexiMotion.DirectionLength.Direction and FlexiMotion.DirectionLength.Length.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type["DirectionLength"] class Type type-node

Syntax

public readonly struct DirectionLength : ValueType

Constructors

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

Fields

Name Constant Value Summary
Direction
The normalized direction.
Length
The magnitude of the vector.

Extension Methods

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