Open Reality Reference Guide
|
|
Go to the documentation of this file.
43 #include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
53 #include <fbsdk/fbtexture.h>
57 #ifdef FBSDKUseNamespace
58 namespace FBSDKNamespace {
159 #define FBStorableCustomHUDElementImplementation(ClassName, Desc)\
160 const char* ClassName::FbxGetObjectSubType(){ return #ClassName; }\
161 HIObject RegisterStorable##ClassName##Create(HIObject , const char* pName, void* ){\
162 ClassName* Class = new ClassName(pName);\
163 Class->mAllocated = true;\
164 if( Class->FBCreate() ){\
165 return Class->GetHIObject();\
169 FBLibraryModule(ClassName##Storable){\
170 FBString lGroup = "FbxStorable/HUDElement";\
171 FBRegisterObject(ClassName##R2, lGroup, #ClassName, Desc, RegisterStorable##ClassName##Create, true, NULL);\
398 FBHUD(
const char* pName, HIObject pObject=NULL );
461 #ifdef FBSDKUseNamespace
@ kFBHUDLeft
Left alignment.
FBHUDElement(const char *pName, HIObject pObject=NULL)
Constructor.
FBStringList * GetFontList()
Returns a list of supported fonts.
virtual bool FbxStore(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Store function that can be overloaded.
kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
FBPropertyColorAndAlpha BackgroundColor
Read Write Property: Bloop slate background color, by default it is 100% transparent.
FBHUDTextElement(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyHUDElementHAlignment Justification
Read Write Property: Specifies if the justification of the HUD element is Left, Right,...
double mHeightScale
Element display region height scale factor compared with intrinsic height value.
FBPropertyDouble Y
Read Write Property: Specifies the vertical position of the HUD element, relative to dock position an...
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyDouble X
Read Write Property: Specifies the horizontal position of the HUD element, relative to dock position ...
FBPropertyColorAndAlpha TailIdleColor
Read Write Property: Specifies color of the Tail region when it is idle.
FBPropertyBool AdjustWidthToFitText
Read Write Property: If On it it will adjust the width of a text element so that a text character's a...
FBPropertyListTexture Texture
Read Write Property: Texture to display.
A box is a fundamental building block in the application architecture.
virtual bool FbxRetrieve(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Retrieve function that can be overloaded.
FBHUDTimelineElement(const char *pName, HIObject pObject=NULL)
Constructor.
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
virtual void GetIntrinsicDimension(FBViewingOptions *pViewingOptins, int &pWidth, int &pHeight)
Callback for getting HUD element intrinsic dimension which is opposed to the actual display dimension...
__FB_FORWARD(FBHUDManager)
Heads Up display manager.
FBPropertyHUD DefaultHUD
Read Write Property: Specifies the HUD to be displayed on cameras that do not have HUD explicitly ass...
double mWidthScale
Element display region width scale factor compared with intrinsic width value.
double mHeight
Element display region height.
FBPropertyBool ScaleByPercent
Read Write Property: When set to true, Scale is in percentage, relative to the corresponding camera v...
virtual void DrawElement(FBViewingOptions *pViewingOption, Rect &pRect)
Callback for drawing HUD element.
FBPropertyTime TailDuration
Read Write Property: Specifies duration of the Tail region.
FBPropertyString FilePath
Read Write Property: Path to load the swf file from
FBPropertyTime HeadDuration
Read Write Property: Specifies duration of the Head region.
FBHUDElement * CreateElement(EStockElement pType, const char *pName)
Creates a stock HUD Element.
class K_DLLIMPORT FBPropertyBase< FBColorAndAlpha, kFBPT_ColorRGBA > FBPropertyColorAndAlpha
FBPropertyColorAndAlpha type definition.
FBPropertyColorAndAlpha BackgroundColor
Read Write Property: Background text color.
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBHUDBloopSlateElement(const char *pName, HIObject pObject=NULL)
Constructor.
@ kFBHUDBottom
Bottom alignment.
FBPropertyEvent OnDisplay
Event: Callback just before HUD is displayed to update custom values
FBHUDElement * operator[](int pIndex)
Get the model template at pIndex.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyBool PositionByPercent
Read Write Property: When set to true, X and Y position values are in percentage, relative to the cor...
@ kFBHUDRight
Right alignment.
FBPropertyColorAndAlpha CutIdleColor
Read Write Property: Specifies color of the Cut region when it is idle.
FBHUDRectElement(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyHUDElementVAlignment VerticalDock
Read Write Property: Specifies if the HUD element will be vertically docked to the Bottom,...
FBPropertyColorAndAlpha ForegroundColor
Read Write Property: Bloop slate foreground color.
FBPropertyDouble Width
Read Write Property: Specifies the width of HUD element on the screen. It's in pixel when ScaleByPerc...
FBPropertyDouble Height
Read Write Property: Specifies the height of HUD element on the screen. It's in pixel when ScaleByPer...
FBPropertyBool Visibility
FBPropertyBool Enable
Read Write Property: Bloop slate will appear if set to true.
FBPropertyString Content
Read Write Property: C like format to display like in printf.
PropertyEvent: Base event class.
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
FBPropertyColorAndAlpha CutActiveColor
Read Write Property: Specifies color of the Cut region when it is active.
static FBHUDManager & TheOne()
Access to the singleton Heads Up Display(HUD) Manager.
#define FB_DEFINE_LIST(DllTag, Type)
Define a component list.
double mX
Element display region left bottom corner's X coordinate.
FBPropertyColorAndAlpha HeadIdleColor
Read Write Property: Specifies color of the Head region when it is idle.
PropertyList: Concrete class for PropertyList of component
FBPropertyBool ScaleUniformly
Read Write Property: Specifies whether the width and height of HUD element will be scaled uniformly a...
FBHUDTextureElement(const char *pName, HIObject pObject=NULL)
Constructor.
@ kFBHUDTop
Top alignment.
FBPropertyColorAndAlpha Color
Read Write Property: Color of the rectangluar region.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyBool Visibility
Read Write Property: Indicate if the information will be displayed or not.
FBPropertyBool ForceTimeCodeDisplay
Read Write Property: Specifies if the display of time-related reference property will be in timecode ...
FBPropertyTime ShowDuration
Read Write Property: Time that the bloop slate will be displayed.
FBPropertyColorAndAlpha Color
Read Write Property: Text color.
FBHUD(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyListHUDElement Elements
List: Elements present in the HUD.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
#define __FBClassDeclareGroup(Name, Parent)
For internal use only.
double mY
Element display region left bottom corner's Y coordinate.
FBPropertyHUDElementHAlignment HorizontalDock
Read Write Property: Specifies if the HUD element will be horizontally docked to the Left,...
HUD element rectangle for drawing in the view.
Property class: const char * (String).
FBHUDElement * CreateCustomElement(const char *pHUDElementClassName, const char *pName)
Creates a custom HUD Element.
double mWidth
Element display region width.
FBPropertyBool Show
Read Write Property: Specifies if the HUD element will be displayed or not.
MotionBuilder SDK base class.
FBPropertyString Font
Read Write Property: Specifies the font.
FBPropertyTime ShowAfterDelayOnRecordPlay
Read Write Property: Delay before the bloop slate is displayed after recording has started.
FBPropertyColorAndAlpha TailActiveColor
Read Write Property: Specifies color of the Tail region when it is active.
FBPropertyColorAndAlpha HeadActiveColor
Read Write Property: Specifies color of the Head region when it is active.
FBHUDFlashElement(const char *pName, HIObject pObject=NULL)
Constructor.
Viewing options for rendering.
FBHUD * operator[](int pIndex)
Get the model template at pIndex.
FBPropertyListHUD HUDs
List: HUDS attached to this HUD.