Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to create a group of stacked 3d cubes in WPF. However, everywhere I have read only has an example of 1 cube being created at a time or 9 cubes(3×3×3 rubies cube)

I am wanting to be able to quickly create a dynamic amount of cubes.
For instance 9 rows of cubes that is 3 cubes wide and 5 cubes tall.

I feel like an array may be the answer but its been days and I can't figure it out

What I have tried:

I've read the documentation for helix toolkit and multiple other libraries
Posted
Updated 8-Mar-22 12:45pm
Comments
[no name] 8-Mar-22 23:23pm    
Take the 3x3x3 code and make it "scalable"; start by using variables instead of "3x3x3" for the dimensions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900