FineKernelToolKit 4.2.13
読み取り中…
検索中…
一致する文字列を見つけられません
Material_CLI.h
[詳解]
1#pragma once
2
3#include <FK/Material.h>
4#include <FK/MatExample.h>
5#include "Color_CLI.h"
6
7namespace FK_CLI
8{
10
44 public ref class fk_Material {
45 internal:
46 bool dFlg;
47 ::FK::fk_Material *pMat;
48
49 ::FK::fk_Material * GetP(void);
50
51 public:
52#if !defined(FK_DOXYGEN_USER_PROCESS)
53 fk_Material(bool argNewFlg);
54#endif
56
60
62
68#if !defined(FK_DOXYGEN_USER_PROCESS)
69 fk_Material(::FK::fk_Material *);
70#endif
73
76
78
88
90
99 virtual bool Equals(Object^ M) override;
100
102
114 property float Alpha {
115 float get();
116 void set(float argF);
117 }
118
120
124 property fk_Color^ Ambient {
125 fk_Color^ get();
126 void set(fk_Color^ argC);
127 }
128
130
134 property fk_Color^ Diffuse {
135 fk_Color^ get();
136 void set(fk_Color^ argC);
137 }
138
140
144 property fk_Color^ Specular {
145 fk_Color^ get();
146 void set(fk_Color^ argC);
147 }
148
150
154 property fk_Color^ Emission {
155 fk_Color^ get();
156 void set(fk_Color^ argC);
157 }
158
160
163 property float Shininess {
164 float get();
165 void set(float s);
166 };
167
169
172 void Init(void);
173
175
185 static void InitDefault(void);
186
190 static fk_Material ^AshGray = gcnew fk_Material(&::FK::Material::AshGray);
191
195 static fk_Material^ BambooGreen = gcnew fk_Material(&::FK::Material::BambooGreen);
196
200 static fk_Material^ Blue = gcnew fk_Material(&::FK::Material::Blue);
201
205 static fk_Material^ Brown = gcnew fk_Material(&::FK::Material::Brown);
206
210 static fk_Material^ BurntTitan = gcnew fk_Material(&::FK::Material::BurntTitan);
211
215 static fk_Material^ Coral = gcnew fk_Material(&::FK::Material::Coral);
216
220 static fk_Material^ Cream = gcnew fk_Material(&::FK::Material::Cream);
221
225 static fk_Material^ Cyan = gcnew fk_Material(&::FK::Material::Cyan);
226
230 static fk_Material^ DarkBlue = gcnew fk_Material(&::FK::Material::DarkBlue);
231
235 static fk_Material^ DarkGreen = gcnew fk_Material(&::FK::Material::DarkGreen);
236
240 static fk_Material^ DarkPurple = gcnew fk_Material(&::FK::Material::DarkPurple);
241
245 static fk_Material^ DarkRed = gcnew fk_Material(&::FK::Material::DarkRed);
246
250 static fk_Material^ DarkYellow = gcnew fk_Material(&::FK::Material::DarkYellow);
251
255 static fk_Material^ DimYellow = gcnew fk_Material(&::FK::Material::DimYellow);
256
260 static fk_Material^ Flesh = gcnew fk_Material(&::FK::Material::Flesh);
261
265 static fk_Material^ GlossBlack = gcnew fk_Material(&::FK::Material::GlossBlack);
266
270 static fk_Material^ GrassGreen = gcnew fk_Material(&::FK::Material::GrassGreen);
271
275 static fk_Material^ Gray1 = gcnew fk_Material(&::FK::Material::Gray1);
276
280 static fk_Material^ Gray2 = gcnew fk_Material(&::FK::Material::Gray2);
281
285 static fk_Material^ Green = gcnew fk_Material(&::FK::Material::Green);
286
290 static fk_Material^ HolidaySkyBlue = gcnew fk_Material(&::FK::Material::HolidaySkyBlue);
291
295 static fk_Material^ IridescentGreen = gcnew fk_Material(&::FK::Material::IridescentGreen);
296
300 static fk_Material^ Ivory = gcnew fk_Material(&::FK::Material::Ivory);
301
305 static fk_Material^ LavaRed = gcnew fk_Material(&::FK::Material::LavaRed);
306
310 static fk_Material^ LightBlue = gcnew fk_Material(&::FK::Material::LightBlue);
311
315 static fk_Material^ LightCyan = gcnew fk_Material(&::FK::Material::LightCyan);
316
320 static fk_Material^ LightGreen = gcnew fk_Material(&::FK::Material::LightGreen);
321
325 static fk_Material^ LightViolet = gcnew fk_Material(&::FK::Material::LightViolet);
326
330 static fk_Material^ Lilac = gcnew fk_Material(&::FK::Material::Lilac);
331
335 static fk_Material^ MatBlack = gcnew fk_Material(&::FK::Material::MatBlack);
336
340 static fk_Material^ Orange = gcnew fk_Material(&::FK::Material::Orange);
341
345 static fk_Material^ PaleBlue = gcnew fk_Material(&::FK::Material::PaleBlue);
346
350 static fk_Material^ PearWhite = gcnew fk_Material(&::FK::Material::PearWhite);
351
355 static fk_Material^ Pink = gcnew fk_Material(&::FK::Material::Pink);
356
360 static fk_Material^ Purple = gcnew fk_Material(&::FK::Material::Purple);
361
365 static fk_Material^ Red = gcnew fk_Material(&::FK::Material::Red);
366
370 static fk_Material^ TrueWhite = gcnew fk_Material(&::FK::Material::TrueWhite);
371
375 static fk_Material^ UltraMarine = gcnew fk_Material(&::FK::Material::UltraMarine);
376
380 static fk_Material^ Violet = gcnew fk_Material(&::FK::Material::Violet);
381
385 static fk_Material^ White = gcnew fk_Material(&::FK::Material::White);
386
390 static fk_Material^ Yellow = gcnew fk_Material(&::FK::Material::Yellow);
391
395 static fk_Material^ WhiteLight = gcnew fk_Material(&::FK::Material::WhiteLight);
396
400 static fk_Material^ Raw = gcnew fk_Material(&::FK::Material::Raw);
401 };
402}
403
404/****************************************************************************
405 *
406 * Copyright (c) 1999-2024, Fine Kernel Project, All rights reserved.
407 *
408 * Redistribution and use in source and binary forms,
409 * with or without modification, are permitted provided that the
410 * following conditions are met:
411 *
412 * - Redistributions of source code must retain the above
413 * copyright notice, this list of conditions and the
414 * following disclaimer.
415 *
416 * - Redistributions in binary form must reproduce the above
417 * copyright notice, this list of conditions and the
418 * following disclaimer in the documentation and/or
419 * other materials provided with the distribution.
420 *
421 * - Neither the name of the copyright holders nor the names
422 * of its contributors may be used to endorse or promote
423 * products derived from this software without specific
424 * prior written permission.
425 *
426 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
427 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
428 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
429 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
430 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
431 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
432 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
433 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
434 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
435 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
436 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
437 * POSSIBILITY OF SUCH DAMAGE.
438 *
439 ****************************************************************************/
440/****************************************************************************
441 *
442 * Copyright (c) 1999-2024, Fine Kernel Project, All rights reserved.
443 *
444 * 本ソフトウェアおよびソースコードのライセンスは、基本的に
445 * 「修正 BSD ライセンス」に従います。以下にその詳細を記します。
446 *
447 * ソースコード形式かバイナリ形式か、変更するかしないかを問わず、
448 * 以下の条件を満たす場合に限り、再頒布および使用が許可されます。
449 *
450 * - ソースコードを再頒布する場合、上記の著作権表示、本条件一覧、
451 * および下記免責条項を含めること。
452 *
453 * - バイナリ形式で再頒布する場合、頒布物に付属のドキュメント等の
454 * 資料に、上記の著作権表示、本条件一覧、および下記免責条項を
455 * 含めること。
456 *
457 * - 書面による特別の許可なしに、本ソフトウェアから派生した製品の
458 * 宣伝または販売促進に、本ソフトウェアの著作権者の名前または
459 * コントリビューターの名前を使用してはならない。
460 *
461 * 本ソフトウェアは、著作権者およびコントリビューターによって「現
462 * 状のまま」提供されており、明示黙示を問わず、商業的な使用可能性、
463 * および特定の目的に対する適合性に関す暗黙の保証も含め、またそれ
464 * に限定されない、いかなる保証もないものとします。著作権者もコン
465 * トリビューターも、事由のいかんを問わず、損害発生の原因いかんを
466 * 問わず、かつ責任の根拠が契約であるか厳格責任であるか(過失その
467 * 他の)不法行為であるかを問わず、仮にそのような損害が発生する可
468 * 能性を知らされていたとしても、本ソフトウェアの使用によって発生
469 * した(代替品または代用サービスの調達、使用の喪失、データの喪失、
470 * 利益の喪失、業務の中断も含め、またそれに限定されない)直接損害、
471 * 間接損害、偶発的な損害、特別損害、懲罰的損害、または結果損害に
472 * ついて、一切責任を負わないものとします。
473 *
474 ****************************************************************************/
RGB色を管理するクラス
Definition Color_CLI.h:21
マテリアル(質感)を管理するクラス
Definition Material_CLI.h:44
static fk_Material ^ Yellow
Definition Material_CLI.h:390
static fk_Material ^ Purple
Definition Material_CLI.h:360
static fk_Material ^ MatBlack
Definition Material_CLI.h:335
static void InitDefault(void)
デフォルトマテリアル初期化メソッド
bool Equals(fk_Material^ M)
同値比較メソッド1
static fk_Material ^ Ivory
Definition Material_CLI.h:300
static fk_Material ^ AshGray
Definition Material_CLI.h:190
float Alpha
透明度プロパティ
Definition Material_CLI.h:114
static fk_Material ^ Flesh
Definition Material_CLI.h:260
static fk_Material ^ Blue
Definition Material_CLI.h:200
static fk_Material ^ UltraMarine
Definition Material_CLI.h:375
static fk_Material ^ DarkBlue
Definition Material_CLI.h:230
void Init(void)
初期化メソッド
static fk_Material ^ IridescentGreen
Definition Material_CLI.h:295
static fk_Material ^ GrassGreen
Definition Material_CLI.h:270
static fk_Material ^ GlossBlack
Definition Material_CLI.h:265
fk_Color^ Specular
鏡面反射係数プロパティ
Definition Material_CLI.h:144
fk_Color^ Emission
放射光反射係数プロパティ
Definition Material_CLI.h:154
static fk_Material ^ Red
Definition Material_CLI.h:365
~fk_Material()
デストラクタ
static fk_Material ^ Pink
Definition Material_CLI.h:355
fk_Color^ Diffuse
拡散反射係数プロパティ
Definition Material_CLI.h:134
static fk_Material ^ DimYellow
Definition Material_CLI.h:255
static fk_Material ^ PearWhite
Definition Material_CLI.h:350
static fk_Material ^ Coral
Definition Material_CLI.h:215
static fk_Material ^ BurntTitan
Definition Material_CLI.h:210
static fk_Material ^ PaleBlue
Definition Material_CLI.h:345
fk_Material(fk_Material^ mat)
コンストラクタ2
static fk_Material ^ LightViolet
Definition Material_CLI.h:325
static fk_Material ^ Cyan
Definition Material_CLI.h:225
static fk_Material ^ DarkGreen
Definition Material_CLI.h:235
fk_Material()
コンストラクタ1
static fk_Material ^ Violet
Definition Material_CLI.h:380
static fk_Material ^ TrueWhite
Definition Material_CLI.h:370
static fk_Material ^ DarkPurple
Definition Material_CLI.h:240
static fk_Material ^ Gray1
Definition Material_CLI.h:275
static fk_Material ^ Raw
Definition Material_CLI.h:400
static fk_Material ^ BambooGreen
Definition Material_CLI.h:195
static fk_Material ^ Cream
Definition Material_CLI.h:220
static fk_Material ^ LavaRed
Definition Material_CLI.h:305
static fk_Material ^ WhiteLight
Definition Material_CLI.h:395
static fk_Material ^ Lilac
Definition Material_CLI.h:330
static fk_Material ^ HolidaySkyBlue
Definition Material_CLI.h:290
static fk_Material ^ LightCyan
Definition Material_CLI.h:315
static fk_Material ^ DarkYellow
Definition Material_CLI.h:250
static fk_Material ^ Orange
Definition Material_CLI.h:340
static fk_Material ^ Green
Definition Material_CLI.h:285
static fk_Material ^ Brown
Definition Material_CLI.h:205
static fk_Material ^ White
Definition Material_CLI.h:385
static fk_Material ^ DarkRed
Definition Material_CLI.h:245
static fk_Material ^ LightGreen
Definition Material_CLI.h:320
static fk_Material ^ Gray2
Definition Material_CLI.h:280
float Shininess
鏡面反射ハイライトプロパティ
Definition Material_CLI.h:163
static fk_Material ^ LightBlue
Definition Material_CLI.h:310
fk_Color^ Ambient
環境反射係数プロパティ
Definition Material_CLI.h:124
Definition AppWindow_CLI.h:11