Axiom.ParticleSystems.BillboardParticleRenderer.ParseCommonDirection C# (CSharp) Méthode

ParseCommonDirection() private méthode

private ParseCommonDirection ( string values, ParticleSystemRenderer _renderer ) : void
values string
_renderer ParticleSystemRenderer
Résultat void
		public static void ParseCommonDirection( string[] values, ParticleSystemRenderer _renderer )
		{
			if ( values.Length != 3 )
			{
				ParseHelper.LogParserError( "common_direction", _renderer.Type, "Wrong number of parameters." );
				return;
			}
			BillboardParticleRenderer renderer = (BillboardParticleRenderer)_renderer;
			renderer.CommonDirection = StringConverter.ParseVector3( values );
		}