Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Skylight Material Settings

1 REPLY 1
SOLVED
Reply
Message 1 of 2
ir
Advocate
523 Views, 1 Reply

Skylight Material Settings

Dear Experts, Is there any Pythonic way of setting the Date and Time for the Skylight Material? Thanks! Ingolf

1 REPLY 1
Message 2 of 2
sinje_thiedemann
in reply to: ir

Hi Ingolf,

 

like this:

sky = findMaterial("Skylight")
sky.fields().setReal32("time", 16.5) # decimal time, e.g. 16.5 = 4:30 PM
sky.fields().setVec3f("date", 31, 7, 2018) # day, month, year

Best regards

Sinje

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report