MCPcopy Create free account
hub / github.com/Netflix/void-model / should_use_texture

Function should_use_texture

data_generation/object_texture_mapping.py:351–361  ·  view source on GitHub ↗

Determine if an object should use texture or solid color. Args: obj_name: Name of the object Returns: bool: True if object should use texture, False for solid color

(obj_name)

Source from the content-addressed store, hash-verified

349
350
351def should_use_texture(obj_name):
352 """
353 Determine if an object should use texture or solid color.
354
355 Args:
356 obj_name: Name of the object
357
358 Returns:
359 bool: True if object should use texture, False for solid color
360 """
361 return obj_name in TEXTURED_OBJECTS
362
363
364def get_texture_categories(obj_name):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected