Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

param(...) functionality for materials #6

Open
vvoovv opened this issue Nov 14, 2014 · 0 comments
Open

param(...) functionality for materials #6

vvoovv opened this issue Nov 14, 2014 · 0 comments

Comments

@vvoovv
Copy link
Owner

vvoovv commented Nov 14, 2014

The proposed solution:

wallColor = paramMaterial(
    # MyMaterial1 must already exist
    "MyMaterial1", # MyMaterial1 must already exist
    # MyMaterial2 will created on the fly
    material("MyMaterial2",  diffuseColor=..., otherParamer=..., oneMoreParameter=...,)
)
@vvoovv vvoovv changed the title Implement param(...) functionality for materials param(...) functionality for materials Nov 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant