PaintManager Struct Reference Library » Paint

#include <lib_paint.h>

详细描述

Functions to access Texture Views.

公共成员函数

Int32   GetViewCount ()
maxon::BaseArray < Int32 > *  GetViewIds ()
Int32   GetActiveViewId ()
Bool   ResetActiveView ()
Bool   GetAllowSelectUpdate ()
Bool   SetAllowSelectUpdate ( Bool _allowSelectUpdate)

成员函数文档编制

◆  GetViewCount()

Int32 GetViewCount ( )

Gets the number of opened Texture Views.

返回
The number of opened Texture Views.

◆  GetViewIds()

maxon::BaseArray < Int32 >* GetViewIds ( )

Gets the array of unique Texture View IDs.

返回
The array of Texture View IDs.

◆  GetActiveViewId()

Int32 GetActiveViewId ( )

Gets the ID of the Texture View that currently has focus (if any).

返回
The ID of the Texture View which has focus, NOTOK if none found.

◆  ResetActiveView()

Bool ResetActiveView ( )

Removes focus from Texture View which currently has focus.

返回
true if successful, otherwise false .

◆  GetAllowSelectUpdate()

Bool GetAllowSelectUpdate ( )

Gets the flag indicating if the Texture View in focus updates with selection changes.

返回
true if context updates are enabled, otherwise false .

◆  SetAllowSelectUpdate()

Bool SetAllowSelectUpdate ( Bool   _allowSelectUpdate )

Sets the flag indicating if the Texture View in focus updates with selection changes.

参数
[in] _allowSelectUpdate Pass true to enable context updates.
返回
true if successful, otherwise false .