Documentation

Unity Engine

Download Unity

Unity Engine

WeightMaskBuilder(Allocator, float, float)

WeightMaskBuilder constructor.
Read time 1 minuteLast updated 4 hours ago

Definition

public WeightMaskBuilder(Allocator allocator, float defaultTransformWeight = 0, float defaultGenericWeight = 1)

Parameters

allocator

The allocator to use for the memory of the builder.

defaultTransformWeight

The weight of the transform channels that have no explicit mask. The value is clamped between 0 and 1. The default value is 0.

defaultGenericWeight

The weight of the float, integer, and entity ID channels that have no explicit mask. The value is clamped between 0 and 1. The default value is 1.