1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

プリザンターのビュー(フィルタ・ソータ)とViewの違い

Posted at

はじめに

プリザンターの標準機能であるビュー機能。フィルタやソータなどの設定を保持しておいてくる便利な機能です。これと同じ名称でサーバスクリプトにViewという機能があります。このビューとView、同じ読みですが内部的には異なる機能として扱われるために注意が必要です。今回はこのビューとViewの考え方の違いを解説します。

実装から考えてみる

ビューとViewの適用順を簡単にまとめてみました。これらの操作はサーバサイドで実行されます。

ポイントとなるのは赤地の部分です。サーバスクリプトのViewがセットされていると、既定のビューや画面上での操作のフィルタやソータが全て無効化され、Viewにセットされている情報のみが使用されます。

まとめ

今回はビューとViewの違いを解説しました。この違い、マニュアルには記載がないため混乱しやすいところですので、是非覚えておいてください。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?