if (nParticleShape1.collisionU >0)
{
float $U=nParticleShape1.collisionU;
float $V=nParticleShape1.collisionV;
vector $colRGB = `colorAtPoint -o RGB -u $U -v $V ramp2`;
nParticleShape1.rgbPP = $colRGB;
}
获取 UV 向量处的颜色
vector $colRGB = `colorAtPoint -o RGB -u $U -v $V ramp2`;