Tabnine Logo
BuildingModel.getRoofMaterialType
Code IndexAdd Tabnine to your IDE (free)

How to use
getRoofMaterialType
method
in
kendzi.kendzi3d.buildings.model.BuildingModel

Best Java code snippets using kendzi.kendzi3d.buildings.model.BuildingModel.getRoofMaterialType (Showing top 1 results out of 315)

origin: kendzi/kendzi3d

private static TextureData takeRoofTextureData(BuildingModel buildingModel, BuildingPart bp, Wall w,
    BuildingElementsTextureManager tm, boolean colorable) {
  String mt = null;
  if (w.getRoofMaterialType() != null) {
    mt = w.getRoofMaterialType();
  } else if (bp.getRoofMaterialType() != null) {
    mt = bp.getRoofMaterialType();
  } else if (buildingModel.getRoofMaterialType() != null) {
    mt = buildingModel.getRoofMaterialType();
  }
  TextureData td = tm.findTexture(new TextureFindCriteria(Type.ROOF, mt, null, null, null, colorable));
  if (td == null) {
    td = new TextureData(null, 1, 1);
  }
  return td;
}
kendzi.kendzi3d.buildings.modelBuildingModelgetRoofMaterialType

Popular methods of BuildingModel

  • <init>
  • getParts
  • setParts
  • getFacadeColor
  • getFacadeMaterialType
  • getFloorColor
  • getFloorMaterialType
  • getNodeParts
  • getRoofColor
  • setNodeParts

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • JLabel (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now