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