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

RCPointBuffer: how to fill RCVector4ub color?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
lamorlette
587 Views, 1 Reply

RCPointBuffer: how to fill RCVector4ub color?

The Autodesk::RealityComputing::Data::RCPointBuffer class provides methods to set the color of points.

All these methods accept RCCommonNS::RCVector4ub parameters for the colors.

How should I fill colors in this four-dimensional vectors (whose attributes are x, y, z and w)?

1 REPLY 1
Message 2 of 2
karthik.nathan
in reply to: lamorlette

Hi,

 

RCVector4ub is a 4 dimensional vector of single byte characters. x, y, z & w values represent RGB & A (alpha value) of the color you want to set.

 

Hope this helps.

 

-Karthik

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

Post to forums  

Rail Community


Ā 

Autodesk Design & Make Report

Ā