How to change the color of TCylinder in Delphi Firemonkey -


i can create cylinder

img: tcontrol3d; img := tcylinder.create(nil); 

however img not seem have colour property. when cast cylinder. seems defaulting red. object inspector not have colour property cylinders either.

each 3d shape object has materialsource property - use give shape color/texture.

if want set shape material solid colour, use tcolormaterialsource component, set color want, , link shape's materialsource property.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -