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