Axiom.ParticleSystems.BillboardParticleRenderer.SetParameter C# (CSharp) 메소드

SetParameter() 공개 메소드

Parses an attribute intended for the particle system itself.
public SetParameter ( string attr, string val ) : bool
attr string
val string
리턴 bool
		public override bool SetParameter( string attr, string val )
		{
			if ( attribParsers.ContainsKey( attr ) )
			{
				object[] args = new object[ 2 ];
				args[ 0 ] = val.Split( ' ' );
				args[ 1 ] = this;
				attribParsers[ attr ].Invoke( null, args );
				//ParticleSystemRendererAttributeParser parser =
				//        (ParticleSystemRendererAttributeParser)attribParsers[attr];

				//// call the parser method
				//parser(val.Split(' '), this);
				return true;
			}
			return false;
		}