WPF : 3D 给GeometryModel3D对象贴图GeometryModel3D model = WPF : 3D 给GeometryModel3D对象贴图.;
WPF : 3D 给GeometryModel3D对象贴图
WPF : 3D 给GeometryModel3D对象贴图
string imgFile = @"C:\a.jpg"
;
WPF : 3D 给GeometryModel3D对象贴图Uri imgUri 
= new
 Uri( imgFile, UriKind.RelativeOrAbsolute );
WPF : 3D 给GeometryModel3D对象贴图ImageSource imgSrc 
= new
 BitmapImage( imgUri ); //load image

WPF : 3D 给GeometryModel3D对象贴图DiffuseMaterial mtr 
= new
 DiffuseMaterial();
WPF : 3D 给GeometryModel3D对象贴图mtr.Brush 
= new
 ImageBrush( imgSrc );

WPF : 3D 给GeometryModel3D对象贴图model.Material 
= mtr; 

相关文章:

  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-11-25
  • 2021-11-01
  • 2022-12-23
猜你喜欢
  • 2022-01-03
  • 2023-01-26
  • 2021-12-23
  • 2021-12-23
  • 2021-04-03
  • 2022-02-08
相关资源
相似解决方案