Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/properties.py
| Show First 20 Lines • Show All 1,285 Lines • ▼ Show 20 Lines | class CyclesObjectSettings(bpy.types.PropertyGroup): | ||||
| is_caustics_receiver: BoolProperty( | is_caustics_receiver: BoolProperty( | ||||
| name="Receive Shadow Caustics", | name="Receive Shadow Caustics", | ||||
| description="Receive approximate caustics from refractive materials in shadows on this object. " | description="Receive approximate caustics from refractive materials in shadows on this object. " | ||||
| "Lights, caster and receiver objects must have shadow caustics options set to enable this", | "Lights, caster and receiver objects must have shadow caustics options set to enable this", | ||||
| default=False, | default=False, | ||||
| ) | ) | ||||
| lpe_tag: StringProperty( | |||||
| name="Light Path Expression Tag", | |||||
| description="Define a name for the object to identify it inside of a light path expression", | |||||
| default="", | |||||
| ) | |||||
| @classmethod | @classmethod | ||||
| def register(cls): | def register(cls): | ||||
| bpy.types.Object.cycles = PointerProperty( | bpy.types.Object.cycles = PointerProperty( | ||||
| name="Cycles Object Settings", | name="Cycles Object Settings", | ||||
| description="Cycles object settings", | description="Cycles object settings", | ||||
| type=cls, | type=cls, | ||||
| ) | ) | ||||
| ▲ Show 20 Lines • Show All 357 Lines • Show Last 20 Lines | |||||