AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::RenderStyle类 参考

The Scene node style. 更多...

#include <APIRenderStyle.h>

类 AnyCAD::API::RenderStyle 继承关系图:
AnyCAD::API::Object AnyCAD::API::FaceStyle AnyCAD::API::LineStyle AnyCAD::API::PointStyle

Public 成员函数

void SetColor (const ColorValue &clr)
 
void SetColor (int r, int g, int b)
 
ColorValue GetColor () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The Scene node style.

TODO:

成员函数说明

ColorValue AnyCAD::API::RenderStyle::GetColor ( ) const

Get Color

返回
ColorValue
void AnyCAD::API::RenderStyle::SetColor ( const ColorValue clr)

Set Color

参数
clrthe color
void AnyCAD::API::RenderStyle::SetColor ( int  r,
int  g,
int  b 
)

Set Color

参数
rthe red value
gthe green value
bthe blue value

该类的文档由以下文件生成: