dnac::SetBlendShapeTargetDeltasCommand dnac::Command SetBlendShapeTargetDeltasCommand.h dnac::SetBlendShapeTargetDeltasCommand::Impl ScopedPtr< Impl > ScopedPtr<Impl> dnac::SetBlendShapeTargetDeltasCommand::pImpl pImpl dnac::SetBlendShapeTargetDeltasCommand::pImpl run SetBlendShapeTargetDeltasCommand setBlendShapeTargetIndex setDeltas setMasks setMeshIndex setOperation DNACAPI dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand (MemoryResource *memRes=nullptr) SetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand MemoryResource * memRes nullptr DNACAPI dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand (std::uint16_t meshIndex, std::uint16_t blendShapeTargetIndex, ConstArrayView< Vector3 > deltas, VectorOperation operation, MemoryResource *memRes=nullptr) SetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand std::uint16_t meshIndex std::uint16_t blendShapeTargetIndex ConstArrayView< Vector3 > deltas VectorOperation operation MemoryResource * memRes nullptr pImpl DNACAPI dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand (std::uint16_t meshIndex, std::uint16_t blendShapeTargetIndex, ConstArrayView< float > xs, ConstArrayView< float > ys, ConstArrayView< float > zs, VectorOperation operation, MemoryResource *memRes=nullptr) SetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand std::uint16_t meshIndex std::uint16_t blendShapeTargetIndex ConstArrayView< float > xs ConstArrayView< float > ys ConstArrayView< float > zs VectorOperation operation MemoryResource * memRes nullptr pImpl DNACAPI dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand (std::uint16_t meshIndex, std::uint16_t blendShapeTargetIndex, ConstArrayView< Vector3 > deltas, ConstArrayView< float > masks, VectorOperation operation, MemoryResource *memRes=nullptr) SetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand std::uint16_t meshIndex std::uint16_t blendShapeTargetIndex ConstArrayView< Vector3 > deltas ConstArrayView< float > masks VectorOperation operation MemoryResource * memRes nullptr pImpl DNACAPI dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand (std::uint16_t meshIndex, std::uint16_t blendShapeTargetIndex, ConstArrayView< float > xs, ConstArrayView< float > ys, ConstArrayView< float > zs, ConstArrayView< float > masks, VectorOperation operation, MemoryResource *memRes=nullptr) SetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand std::uint16_t meshIndex std::uint16_t blendShapeTargetIndex ConstArrayView< float > xs ConstArrayView< float > ys ConstArrayView< float > zs ConstArrayView< float > masks VectorOperation operation MemoryResource * memRes nullptr pImpl DNACAPI dnac::SetBlendShapeTargetDeltasCommand::~SetBlendShapeTargetDeltasCommand () ~SetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommand::~SetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand (const SetBlendShapeTargetDeltasCommand &)=delete SetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand const SetBlendShapeTargetDeltasCommand & SetBlendShapeTargetDeltasCommand & SetBlendShapeTargetDeltasCommand & dnac::SetBlendShapeTargetDeltasCommand::operator= (const SetBlendShapeTargetDeltasCommand &)=delete operator= dnac::SetBlendShapeTargetDeltasCommand::operator= const SetBlendShapeTargetDeltasCommand & DNACAPI dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand (SetBlendShapeTargetDeltasCommand &&) SetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommand::SetBlendShapeTargetDeltasCommand SetBlendShapeTargetDeltasCommand && DNACAPI SetBlendShapeTargetDeltasCommand & SetBlendShapeTargetDeltasCommand & dnac::SetBlendShapeTargetDeltasCommand::operator= (SetBlendShapeTargetDeltasCommand &&) operator= dnac::SetBlendShapeTargetDeltasCommand::operator= SetBlendShapeTargetDeltasCommand && DNACAPI void void dnac::SetBlendShapeTargetDeltasCommand::setMeshIndex (std::uint16_t meshIndex) setMeshIndex dnac::SetBlendShapeTargetDeltasCommand::setMeshIndex std::uint16_t meshIndex Method for setting the index of the mesh whose blend shape target to change. meshIndex The mesh index. pImpl DNACAPI void void dnac::SetBlendShapeTargetDeltasCommand::setBlendShapeTargetIndex (std::uint16_t blendShapeTargetIndex) setBlendShapeTargetIndex dnac::SetBlendShapeTargetDeltasCommand::setBlendShapeTargetIndex std::uint16_t blendShapeTargetIndex Method for setting the index of the blend shape target to change. blendShapeTargetIndex The blend shape target index. pImpl DNACAPI void void dnac::SetBlendShapeTargetDeltasCommand::setDeltas (ConstArrayView< Vector3 > deltas) setDeltas dnac::SetBlendShapeTargetDeltasCommand::setDeltas ConstArrayView< Vector3 > deltas Method for setting the values used to calculate new deltas for blend shape target. deltas The values used in calculation. pImpl DNACAPI void void dnac::SetBlendShapeTargetDeltasCommand::setDeltas (ConstArrayView< float > xs, ConstArrayView< float > ys, ConstArrayView< float > zs) setDeltas dnac::SetBlendShapeTargetDeltasCommand::setDeltas ConstArrayView< float > xs ConstArrayView< float > ys ConstArrayView< float > zs Method for setting the values used to calculate new deltas for blend shape target. xs The X values for each delta. ys The Y values for each delta. zs The Z values for each delta. pImpl DNACAPI void void dnac::SetBlendShapeTargetDeltasCommand::setMasks (ConstArrayView< float > masks) setMasks dnac::SetBlendShapeTargetDeltasCommand::setMasks ConstArrayView< float > masks Method for setting masks used to calculate new deltas for blend shape target. If no masks are set, default weight value of 1 is used for each delta. masks The weights for each delta. pImpl DNACAPI void void dnac::SetBlendShapeTargetDeltasCommand::setOperation (VectorOperation operation) setOperation dnac::SetBlendShapeTargetDeltasCommand::setOperation VectorOperation operation Method for setting the type of operation used to calculate new deltas for blend shape target. Available operations are: Interpolate, Add, Subtract and Multiply. Each delta is calculated based on the provided operation type in the following way: Interpolate: $newValue = previousValue * (1 - weight) + setValue * weight$ Add: $newValue = previousValue + (setValue * weight)$ Subtract: $newValue = previousValue - (setValue * weight)$ Multiply: $newValue = previousValue * (setValue * weight)$ setValue is the value from new deltas that were set, and weight is the value from masks array. operation The operation to use. pImpl DNACAPI void void dnac::SetBlendShapeTargetDeltasCommand::run (DNACalibDNAReader *output) override run dnac::SetBlendShapeTargetDeltasCommand::run run DNACalibDNAReader * output pImpl SetBlendShapeTargetDeltasCommand is used to change blend shape target deltas. -ptr < dnac::SetBlendShapeTargetDeltasCommand::Impl > -pImpl < T > < dnac::SetBlendShapeTargetDeltasCommand::Impl > -ptr dnac::SetBlendShapeTargetDeltasCommandoperator= dnac::SetBlendShapeTargetDeltasCommandoperator= dnac::SetBlendShapeTargetDeltasCommandpImpl dnac::SetBlendShapeTargetDeltasCommandrun dnac::SetBlendShapeTargetDeltasCommandSetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommandSetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommandSetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommandSetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommandSetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommandSetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommandSetBlendShapeTargetDeltasCommand dnac::SetBlendShapeTargetDeltasCommandsetBlendShapeTargetIndex dnac::SetBlendShapeTargetDeltasCommandsetDeltas dnac::SetBlendShapeTargetDeltasCommandsetDeltas dnac::SetBlendShapeTargetDeltasCommandsetMasks dnac::SetBlendShapeTargetDeltasCommandsetMeshIndex dnac::SetBlendShapeTargetDeltasCommandsetOperation dnac::SetBlendShapeTargetDeltasCommand~Command dnac::SetBlendShapeTargetDeltasCommand~SetBlendShapeTargetDeltasCommand