예제 #1
0
 public void SetMaterial(Texture texture, Color color, Vector4 channels)
 {
     Blend    = P3dBlendMode.Replace(channels);
     Material = cachedMaterial;
     Texture  = texture;
     Color    = color;
 }
 public void SetMaterial(Texture textureR, Texture textureG, Texture textureB, Texture textureA, Vector4 channelR, Vector4 channelG, Vector4 channelB, Vector4 channelA, Vector4 channels)
 {
     Blend    = P3dBlendMode.Replace(channels);
     Material = cachedMaterial;
     TextureR = textureR;
     TextureG = textureG;
     TextureB = textureB;
     TextureA = textureA;
     ChannelR = channelR;
     ChannelG = channelG;
     ChannelB = channelB;
     ChannelA = channelA;
 }