1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">
7 <link rel="top" href="index.html" title="
\83z
\81[
\83\80">
8 <link rel="parent" href="CategoryVideo.html" title="1
\82Â
\8fã">
9 <title>SDL_SetWindowOpacity</title>
12 <a href="index.html">
\96Ú
\8e\9f</a> - <a href="ApiByCategory.html">API(
\8b@
\94\
\95Ê)</a> - <a href="CategoryVideo.html">
\83f
\83B
\83X
\83v
\83\8c\83C
\82Æ
\83E
\83B
\83\93\83h
\83E</a> - SDL_SetWindowOpacity
14 <h1>SDL_SetWindowOpacity</h1>
15 \83E
\83B
\83\93\83h
\83E
\82Ì
\95s
\93§
\96¾
\93x
\82ð
\90Ý
\92è
\82·
\82é
17 <code>int SDL_SetWindowOpacity(SDL_Window* window, float opacity)</code>
19 <table border="1" summary="SDL_SetWindowOpacity">
20 <tr><td>window</td><td>
\95s
\93§
\96¾
\93x
\82ð
\90Ý
\92è
\82·
\82é
\83E
\83B
\83\93\83h
\83E</td></tr>
21 <tr><td>opacity</td><td>
\95s
\93§
\96¾
\93x (0.0f -
\93§
\96¾, 1.0f -
\95s
\93§
\96¾)</td></tr>
25 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
26 <a href="SDL_GetError.html">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
30 \88ø
\90\94opacity
\82Í
\93à
\95\94\82Å0.0f(
\93§
\96¾)
\82©
\82ç1.0f(
\95s
\93§
\96¾)
\82Ì
\8aÔ
\82Ì
\92l
\82É
\95â
\90³
\82³
\82ê
\82é.
33 \93§
\96¾
\82È
\83E
\83B
\83\93\83h
\83E
\82É
\91Î
\89\9e\82µ
\82Ä
\82¢
\82È
\82¢
\8fê
\8d\87\82Í,
\82±
\82Ì
\8aÖ
\90\94\82Í-1
\82ð
\96ß
\82·.
36 \82±
\82Ì
\8aÖ
\90\94\82ÍDirectFB, X11, Cocoa (Apple Mac OS X), Microsoft Windows
\82Ì
\82Ý
\91Î
\89\9e\82µ
\82Ä
\82¢
\82é.
38 <h2>
\83o
\81[
\83W
\83\87\83\93</h2>
40 \82±
\82Ì
\8aÖ
\90\94\82ÍSDL 2.0.5
\88È
\8d~
\82Å
\8eg
\82¦
\82é.
42 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
43 <a href="SDL_GetWindowOpacity.html">SDL_GetWindowOpacity</a><br>
44 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
45 <a href="https://wiki.libsdl.org/SDL_SetWindowOpacity">SDL_SetWindowOpacity - SDL Wiki</a>