Axiom.Demos.DeferredShadingSystem.MiniLight.MiniLight C# (CSharp) Method

MiniLight() public method

public MiniLight ( MaterialGenerator generator ) : System
generator MaterialGenerator
return System
        public MiniLight( MaterialGenerator generator )
        {
            this._materialGenerator = generator;

            this.RenderQueueGroup = RenderQueueGroupID.Two;
            this.renderOperation.operationType = OperationType.TriangleList;
            this.renderOperation.indexData = null;
            this.renderOperation.vertexData = null;
            this.renderOperation.useIndices = true;

            this.Diffuse = ColorEx.White;
            this.Specular = ColorEx.Black;
            this.Attenuation = Vector3.UnitX;

        }