habitat_sim.attributes module

Attributes objects store metadata relevant to a specific type of simulation objects for programmatic manipulation and instantiation (e.g. a blueprint).

Note: SceneDatasetAttributes and SceneInstanceAttributes are not publicly exposed.

Classes

class ArticulatedObjectAttributes
A metadata template for articulated object configurations. Is imported from .ao_config.json files.
class CapsulePrimitiveAttributes
Parameters for constructing a primitive capsule mesh shape.
class ConePrimitiveAttributes
Parameters for constructing a primitive cone mesh shape.
class CubePrimitiveAttributes
Parameters for constructing a primitive cube mesh shape.
class CylinderPrimitiveAttributes
Parameters for constructing a primitive capsule mesh shape.
class IcospherePrimitiveAttributes
Parameters for constructing a primitive icosphere mesh shape.
class MarkerSets
class ObjectAttributes
A metadata template for rigid objects pre-instantiation. Defines asset paths, physical properties, scale, semantic ids, shader type overrides, and user defined metadata. ManagedRigidObjects are instantiated from these blueprints. Is imported from .object_config.json files.
class PbrShaderAttributes
A metadata template for PBR shader creation and control values and multipliers, such as enabling Image Based Lighting and controlling the mix of direct and indirect lighting contributions. Is imported from .pbr_config.json files.
class PhysicsManagerAttributes
A metadata template for Simulation parameters (e.g. timestep, simulation backend, default gravity direction) and defaults. Consumed to instace a Simulator object. Is imported from .physics_config.json files.
class StageAttributes
A metadata template for stages pre-instantiation. Defines asset paths, collision properties, gravity direction, shader type overrides, semantic asset information, and user defined metadata. Consumed to instantiate the static background of a scene (e.g. the building architecture). Is imported from .stage_config.json files.
class UVSpherePrimitiveAttributes
Parameters for constructing a primitive uvsphere mesh shape.