Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > TypeData > UParticleModuleTypeDataRibbon
Syntax
uint32 bEnableTangentDiffInterpScale: 1
Remarks
If this flag is enabled, the system will scale the number of interpolated vertices based on the difference in the tangents of neighboring particles. Each pair of neighboring particles will compute the following CheckTangent value: CheckTangent = ((ParticleA Tangent DOT ParticleB Tangent) - 1.0f) * 0.5f If CheckTangent is LESS THAN 0.5, then the DistanceTessellationStepSize will be scaled based on the result. This will map so that from parallel to orthogonal (0..90 degrees) will scale from [0..1]. Anything greater than 90 degrees will clamp at a scale of 1.