> For the complete documentation index, see [llms.txt](https://catenoid-support.gitbook.io/kollus-dev-jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://catenoid-support.gitbook.io/kollus-dev-jp/kollus-vg-controller/mesoddo-3.md).

# 字幕メソッド

### **set\_subtitle (value)**

**対象プレイヤータイプ：v3,v4**

> 字幕データを直接入力します。value値ではVTT urlかVTT RawData文字列が入ります。

**Parameters:**

* value String VTT url 又は VTT RawData文字列です。

**Return:**

* No return

### **set\_subtitle\_visibility (visibility)**

**対象プレイヤータイプ：v3,v4**

> 字幕出力の設定をします。

\
**Parameters:**

* visibility BOOLEAN出力可否

**Return:**

* No return

### **set\_subtitle\_shadow\_rect (is\_rect)**

**対象プレイヤータイプ：v3,v4**

> 字幕の背景スタイルを設定します。パラメーターが trueの場合 block形状の不透明背景で設定されます。falseの場合は文字に影が付けられます。

\
**Parameters:**

* is\_rect BOOLEAN字幕の背景スタイルが Block形状かの可否

**Return:**

* No return

### **get\_subtitle\_shadow\_rect ()**

**対象プレイヤータイプ：v3,v4**

> 字幕の背景スタイルが Block形状の不透明背景で設定されているのか可否をリターンします。

**Parameters:**

* No parameter

**Return:**

* BOOLEAN 字幕の背景スタイルが Block形状か可否

### **set\_subtitle\_font\_size (size)**

**対象プレイヤータイプ：v3,v4**

> 字幕のフォントサイズを設定します。

\
**Parameters:**

* size INTEGER 字幕のフォントサイズ、単位は px

**Return:**

* No return

### **get\_subtitle\_font\_size ()**

**対象プレイヤータイプ：v3,v4**

> 字幕のフォントサイズ値をリターンします。

\
**Parameters:**

* No parameter

**Return:**

* INTEGER 字幕のフォントサイズ単位はpx

### **get\_subtitle\_sub\_font\_size ()**

**対象プレイヤータイプ：v3,v4**

> サブ字幕のフォントサイズの値をリターンします。

**Parameters:**

* No parameter

**Return:**

* Integer 字幕のフォントサイズです。単位はpxです。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://catenoid-support.gitbook.io/kollus-dev-jp/kollus-vg-controller/mesoddo-3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
