public CCPrimitiveCommand(float globalZOrder, CCTexture2D texture, CCPrimitive <T, T2> primitive, CCBlendFunc blendType, CCAffineTransform modelViewTransform, int flags = 0) : base(globalZOrder, modelViewTransform, flags) { CommandType = CommandType.PRIMITIVE_COMMAND; Primitive = primitive; BlendType = blendType; Texture = texture; }
public CCPrimitiveCommand(float globalZOrder, CCPrimitive <T, T2> primitive, CCBlendFunc blendType, CCAffineTransform modelViewTransform, int flags = 0) : this(globalZOrder, null, primitive, blendType, modelViewTransform, flags) { }