The INinePatchPlaneSequenceGeometry graph node interface. More...
#include "murl_graph_i_nine_patch_plane_sequence_geometry.h"
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual ITransform * | GetTransformInterface ()=0 |
Get the mutable Graph::ITransform interface. More... | |
virtual const ITransform * | GetTransformInterface () const =0 |
Get the constant Graph::ITransform interface. More... | |
virtual IPlaneSequenceGeometry * | GetPlaneSequenceGeometryInterface ()=0 |
Get the mutable Graph::IPlaneSequenceGeometry interface. More... | |
virtual const IPlaneSequenceGeometry * | GetPlaneSequenceGeometryInterface () const =0 |
Get the constant Graph::IPlaneSequenceGeometry interface. More... | |
virtual Bool | SetFrameSize (Real sizeX, Real sizeY)=0 |
Set the size of the display rectangle. More... | |
virtual Bool | SetFrameSizeX (Real sizeX)=0 |
Set the width of the display rectangle. More... | |
virtual Bool | SetFrameSizeY (Real sizeY)=0 |
Set the height of the display rectangle. More... | |
Public Member Functions inherited from Murl::Graph::INinePatch | |
virtual Bool | SetCapCoordSize (Real x1, Real y1, Real x2, Real y2)=0 |
Set all four of the cap coordinate sizes. More... | |
virtual Bool | SetCapCoordSize1 (Real x1, Real y1)=0 |
Set the cap coordinate start sizes. More... | |
virtual Bool | SetCapCoordSize2 (Real x2, Real y2)=0 |
Set the cap coordinate stop sizes. More... | |
virtual Bool | SetCapCoordSizeX1 (Real x1)=0 |
Set the left cap coordinate size. More... | |
virtual Bool | SetCapCoordSizeY1 (Real y1)=0 |
Set the bottom cap coordinate size. More... | |
virtual Bool | SetCapCoordSizeX2 (Real x2)=0 |
Set the right cap coordinate size. More... | |
virtual Bool | SetCapCoordSizeY2 (Real y2)=0 |
Set the top cap coordinate size. More... | |
virtual Real | GetCapCoordSizeX1 () const =0 |
Get the left cap coordinate size. More... | |
virtual Real | GetCapCoordSizeY1 () const =0 |
Get the bottom cap coordinate size. More... | |
virtual Real | GetCapCoordSizeX2 () const =0 |
Get the right cap coordinate size. More... | |
virtual Real | GetCapCoordSizeY2 () const =0 |
Get the top cap coordinate size. More... | |
virtual Bool | SetCapTexCoordSize (Real x1, Real y1, Real x2, Real y2, UInt32 index)=0 |
Set all four of the cap texture coordinate sizes. More... | |
virtual Bool | SetCapTexCoordSize1 (Real x1, Real y1, UInt32 index)=0 |
Set the cap texture coordinate start sizes. More... | |
virtual Bool | SetCapTexCoordSize2 (Real x2, Real y2, UInt32 index)=0 |
Set the cap texture coordinate stop sizes. More... | |
virtual Bool | SetCapTexCoordSizeX1 (Real x1, UInt32 index)=0 |
Set the left cap texture coordinate size. More... | |
virtual Bool | SetCapTexCoordSizeY1 (Real y1, UInt32 index)=0 |
Set the bottom cap texture coordinate size. More... | |
virtual Bool | SetCapTexCoordSizeX2 (Real x2, UInt32 index)=0 |
Set the right cap texture coordinate size. More... | |
virtual Bool | SetCapTexCoordSizeY2 (Real y2, UInt32 index)=0 |
Set the top cap texture coordinate size. More... | |
virtual Real | GetCapTexCoordSizeX1 (UInt32 index) const =0 |
Get the left cap texture coordinate size. More... | |
virtual Real | GetCapTexCoordSizeY1 (UInt32 index) const =0 |
Get the bottom cap texture coordinate size. More... | |
virtual Real | GetCapTexCoordSizeX2 (UInt32 index) const =0 |
Get the right cap texture coordinate size. More... | |
virtual Real | GetCapTexCoordSizeY2 (UInt32 index) const =0 |
Get the top cap texture coordinate size. More... | |
virtual Bool | SetCenterPatchEnabled (Bool enabled)=0 |
Enable/disable rendering of the center patch. More... | |
virtual Bool | IsCenterPatchEnabled () const =0 |
Check if the center patch is visible. More... | |
Detailed Description
The INinePatchPlaneSequenceGeometry graph node interface.
This interface represents a plane sequence geometry node sourcing its texture coordinates from a given Resource::IAtlas, additionally implementing the Graph::INinePatch property interface for dividing the resulting plane into 9 segments.
See the Graph::IPlaneSequenceGeometry interface for common plane properties. See the Graph::INinePatch interface for details on nine patch objects.
Member Function Documentation
◆ GetNodeInterface() [1/2]
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
- Returns
- The mutable Graph::INode interface, or null if not available
◆ GetNodeInterface() [2/2]
|
pure virtual |
Get the constant Graph::INode interface.
This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
- Returns
- The constant Graph::INode interface, or null if not available
◆ GetTransformInterface() [1/2]
|
pure virtual |
Get the mutable Graph::ITransform interface.
This method returns a mutable pointer to the node's Graph::ITransform interface, to be able to query or modify the node's transformation matrix and depth order.
- Returns
- The mutable Graph::ITransform interface, or null if not available
◆ GetTransformInterface() [2/2]
|
pure virtual |
Get the constant Graph::ITransform interface.
This method returns a constant pointer to the node's Graph::ITransform interface, to be able to query the node's transformation matrix and depth order.
- Returns
- The constant Graph::ITransform interface, or null if not available
◆ GetPlaneSequenceGeometryInterface() [1/2]
|
pure virtual |
Get the mutable Graph::IPlaneSequenceGeometry interface.
This method returns a mutable pointer to the node's Graph::IPlaneSequenceGeometry interface, to be able to query or modify the node's basic plane properties.
- Returns
- The mutable Graph::IPlaneSequenceGeometry interface, or null if not available
◆ GetPlaneSequenceGeometryInterface() [2/2]
|
pure virtual |
Get the constant Graph::IPlaneSequenceGeometry interface.
This method returns a constant pointer to the node's Graph::IPlaneSequenceGeometry interface, to be able to query the node's basic plane properties.
- Returns
- The constant Graph::IPlaneSequenceGeometry interface, or null if not available
◆ SetFrameSize()
|
pure virtual |
Set the size of the display rectangle.
- Parameters
-
sizeX The rectangle width. sizeY The rectangle height.
- Returns
- true if successful.
◆ SetFrameSizeX()
Set the width of the display rectangle.
- Parameters
-
sizeX The rectangle width.
- Returns
- true if successful.
◆ SetFrameSizeY()
Set the height of the display rectangle.
- Parameters
-
sizeY The rectangle height.
- Returns
- true if successful.
The documentation for this interface was generated from the following file:
- murl_graph_i_nine_patch_plane_sequence_geometry.h