ScaleValues2Job Struct

Summary

A job which scales values by the largest axis of object's scales.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Jobs
Interfaces
  • IJobParallelForTransform
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IJobParallelForTransform"] Type["ScaleValues2Job"] class Type type-node

Syntax

[BurstCompile(FloatPrecision.Low, FloatMode.Fast)]
public struct ScaleValues2Job : ValueType, IJobParallelForTransform

Attributes

Type Description
BurstCompileAttribute

Constructors

Name Summary
ScaleValues2Job(NativeArray<float>, NativeArray<float>) Creates a new FlexiMotion.Jobs.ScaleValues2Job.

Fields

Name Constant Value Summary
inUnscaledValues
[Unity.Collections.ReadOnlyAttribute] The input values to scale.
outScaledValues
[Unity.Collections.WriteOnlyAttribute] The scaled input values.

Methods

Name Value Summary
Execute(int, TransformAccess) void
Executes this job for the given `index`.

Extension Methods

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