Example #1
0
void removeRibbonAttributes(MFnIkJoint& joint)
{
	joint.removeAttribute(joint.attribute("unRibbonEnabled"));
	joint.removeAttribute(joint.attribute("unRibbonVisible"));
	joint.removeAttribute(joint.attribute("unRibbonAbove"));
	joint.removeAttribute(joint.attribute("unRibbonBelow"));
	joint.removeAttribute(joint.attribute("unRibbonEdgesPerSecond"));
	joint.removeAttribute(joint.attribute("unRibbonEdgeLife"));
	joint.removeAttribute(joint.attribute("unRibbonGravity"));
	joint.removeAttribute(joint.attribute("unRibbonTextureRows"));
	joint.removeAttribute(joint.attribute("unRibbonTextureCols"));
	joint.removeAttribute(joint.attribute("unRibbonTextureSlot"));
	joint.removeAttribute(joint.attribute("unRibbonVertexColor"));
	joint.removeAttribute(joint.attribute("unRibbonVertexAlpha"));
	joint.removeAttribute(joint.attribute("unRibbonBlendMode"));
	joint.removeAttribute(joint.attribute("unRibbonWanderMode"));
	//joint.removeAttribute(joint.attribute("unRibbonBlendModeSrc"));
	//joint.removeAttribute(joint.attribute("unRibbonBlendModeDst"));
	joint.removeAttribute(joint.attribute("unRibbonTextureFilename"));
}
Example #2
0
void removeParticleAttributes(MFnIkJoint& joint)
{
	joint.removeAttribute(joint.attribute("unParticleEnabled"));
	joint.removeAttribute(joint.attribute("unParticleVisible"));
	joint.removeAttribute(joint.attribute("unParticleSpeed"));
	joint.removeAttribute(joint.attribute("unParticleVariation"));
	joint.removeAttribute(joint.attribute("unParticleConeAngle"));
	joint.removeAttribute(joint.attribute("unParticleGravity"));
	joint.removeAttribute(joint.attribute("unParticleExplosiveForce"));
	joint.removeAttribute(joint.attribute("unParticleLife"));
	joint.removeAttribute(joint.attribute("unParticleLifeVariation"));
	joint.removeAttribute(joint.attribute("unParticleEmissionRate"));
	joint.removeAttribute(joint.attribute("unParticleInitialNum"));
	joint.removeAttribute(joint.attribute("unParticleLimitNum"));
	joint.removeAttribute(joint.attribute("unParticleAttachToEmitter"));
	joint.removeAttribute(joint.attribute("unParticleMoveWithEmitter"));
	joint.removeAttribute(joint.attribute("unParticleForTheSword"));
	joint.removeAttribute(joint.attribute("unParticleForTheSwordInitialAngle"));
	joint.removeAttribute(joint.attribute("unParticleWander"));
	joint.removeAttribute(joint.attribute("unParticleWanderRadius"));
	joint.removeAttribute(joint.attribute("unParticleWanderSpeed"));
	joint.removeAttribute(joint.attribute("unParticleAspectRatio"));
	joint.removeAttribute(joint.attribute("unParticleInitialAngleBegin"));
	joint.removeAttribute(joint.attribute("unParticleInitialAngleEnd"));
	joint.removeAttribute(joint.attribute("unParticleRotationSpeed"));
	joint.removeAttribute(joint.attribute("unParticleRotationSpeedVar"));
	joint.removeAttribute(joint.attribute("unParticleEmitterWidth"));
	joint.removeAttribute(joint.attribute("unParticleEmitterLength"));
	joint.removeAttribute(joint.attribute("unParticleEmitterHeight"));
	joint.removeAttribute(joint.attribute("unParticleBlendMode"));
	//joint.removeAttribute(joint.attribute("unParticleBlendModeSrc"));
	//joint.removeAttribute(joint.attribute("unParticleBlendModeDst"));
	joint.removeAttribute(joint.attribute("unParticleTextureFilename"));
	joint.removeAttribute(joint.attribute("unParticleTextureRows"));
	joint.removeAttribute(joint.attribute("unParticleTextureCols"));
	joint.removeAttribute(joint.attribute("unParticleTextureChangeStyle"));
	joint.removeAttribute(joint.attribute("unParticleTextureChangeInterval"));
	joint.removeAttribute(joint.attribute("unParticleTailLength"));
	joint.removeAttribute(joint.attribute("unParticleTimeMiddle"));
	joint.removeAttribute(joint.attribute("unParticleColorStart"));
	joint.removeAttribute(joint.attribute("unParticleColorMiddle"));
	joint.removeAttribute(joint.attribute("unParticleColorEnd"));
	joint.removeAttribute(joint.attribute("unParticleAlpha"));
	joint.removeAttribute(joint.attribute("unParticleScale"));
	joint.removeAttribute(joint.attribute("unParticleScaleVar"));
	joint.removeAttribute(joint.attribute("unParticleFixedSize"));
	joint.removeAttribute(joint.attribute("unParticleHeadLifeSpan"));
	joint.removeAttribute(joint.attribute("unParticleHeadDecay"));
	joint.removeAttribute(joint.attribute("unParticleTailLifeSpan"));
	joint.removeAttribute(joint.attribute("unParticleTailDecay"));
	joint.removeAttribute(joint.attribute("unParticleHead"));
	joint.removeAttribute(joint.attribute("unParticleTail"));
	joint.removeAttribute(joint.attribute("unParticleUnShaded"));
	joint.removeAttribute(joint.attribute("unParticleUnFogged"));
	joint.removeAttribute(joint.attribute("unParticleBlockByY0"));
}