Link Search Menu Expand Document

arena-py API v0.9.6

arena.attributes.shadow

Shadow attribute class to manage its properties in the ARENA: The shadow component enables shadows for an entity and its children. Adding the shadow component alone is not enough to display shadows in your scene. We must have at least one light with castShadow: true enabled. Usage: shadow=Shadow(...)

Parameters
  • bool cast: Whether the entity casts shadows onto the surrounding scene. (optional)
  • bool receive: Whether the entity receives shadows from the surrounding scene. (optional)
Shadow(**kwargs)