48 #define FBSDK_DLL K_DLLIMPORT
57 #ifdef FBSDKUseNamespace
134 virtual void GetIntrinsicDimension(FBViewingOptions* pViewingOptins,
int&
pWidth,
int &
pHeight);
140 virtual void DrawElement(FBViewingOptions* pViewingOption,
Rect& pRect);
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);\
393 FBHUDElement* CreateElement( EStockElement pType,
const char* pName );
400 FBHUDElement* CreateCustomElement(
const char* pHUDElementClassName,
const char* pName );
423 FBHUD* operator[](
int pIndex);
453 #ifdef FBSDKUseNamespace
FBPropertyTime TailDuration
Read Write Property: Specifies duration of the Tail region.
class FBPropertyBase< FBColorAndAlpha, kFBPT_ColorRGBA > FBPropertyColorAndAlpha
FBPropertyColorAndAlpha type definition.
PropertyEvent: Base event class.
FBPropertyHUD DefaultHUD
Read Write Property: Specifies the HUD to be displayed on cameras that do not have HUD explicitly ass...
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyHUDElementVAlignment VerticalDock
Read Write Property: Specifies if the HUD element will be vertically docked to the Bottom...
FBPropertyBool Show
Read Write Property: Specifies if the HUD element will be displayed or not.
FBPropertyColorAndAlpha BackgroundColor
Read Write Property: Background text color.
FBPropertyHUDElementHAlignment HorizontalDock
Read Write Property: Specifies if the HUD element will be horizontally docked to the Left...
A box is a fundamental building block in the application architecture.
FBPropertyString Content
Read Write Property: C like format to display like in printf.
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
#define FB_DEFINE_LIST(DllTag, Type)
Define a component list.
double mHeight
Element display region height.
Property class: const char * (String).
FBPropertyBool ScaleByPercent
Read Write Property: When set to true, Scale is in percentage, relative to the corresponding camera v...
FBPropertyTime HeadDuration
Read Write Property: Specifies duration of the Head region.
FBPropertyColorAndAlpha CutActiveColor
Read Write Property: Specifies color of the Cut region when it is active.
FBPropertyDouble Width
Read Write Property: Specifies the width of HUD element on the screen.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
double mWidth
Element display region width.
double mY
Element display region left bottom corner's Y coordinate.
FBPropertyEvent OnDisplay
Event: Callback just before HUD is displayed to update custom values
FBPropertyDouble X
Read Write Property: Specifies the horizontal position of the HUD element, relative to dock position ...
FBPropertyString Font
Read Write Property: Specifies the font.
FBPropertyColorAndAlpha TailActiveColor
Read Write Property: Specifies color of the Tail region when it is active.
FBPropertyBool ScaleUniformly
Read Write Property: Specifies whether the width and height of HUD element will be scaled uniformly a...
FBPropertyListHUDElement Elements
List: Elements present in the HUD.
FBPropertyBool Visibility
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
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.
FBPropertyListTexture Texture
Read Write Property: Texture to display.
FBPropertyColorAndAlpha HeadActiveColor
Read Write Property: Specifies color of the Head region when it is active.
kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
HUD element rectangle for drawing in the view.
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 ...
FBPropertyDouble Height
Read Write Property: Specifies the height of HUD element on the screen.
PropertyList: Concrete class for PropertyList of component
class FBPropertyBaseComponent< FBHUD * > FBPropertyHUD
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyString FilePath
Read Write Property: Path to load the swf file from
FBPropertyBool AdjustWidthToFitText
Read Write Property: If On it it will adjust the width of a text element so that a text character's a...
#define FBSDKNamespace
FBSDKNamespace define.
FBPropertyColorAndAlpha ForegroundColor
Read Write Property: Bloop slate foreground color.
FBPropertyDouble Y
Read Write Property: Specifies the vertical position of the HUD element, relative to dock position an...
MotionBuilder SDK base class.
double mHeightScale
Element display region height scale factor compared with intrinsic height value.
FBPropertyColorAndAlpha CutIdleColor
Read Write Property: Specifies color of the Cut region when it is idle.
class FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
class FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBPropertyTime ShowAfterDelayOnRecordPlay
Read Write Property: Delay before the bloop slate is displayed after recording has started...
FBPropertyBool PositionByPercent
Read Write Property: When set to true, X and Y position values are in percentage, relative to the cor...
FBPropertyColorAndAlpha TailIdleColor
Read Write Property: Specifies color of the Tail region when it is idle.
FBPropertyColorAndAlpha BackgroundColor
Read Write Property: Bloop slate background color, by default it is 100% transparent.
FBPropertyColorAndAlpha Color
Read Write Property: Color of the rectangluar region.
#define __FBClassDeclareGroup(Name, Parent)
For internal use only.
FBPropertyColorAndAlpha HeadIdleColor
Read Write Property: Specifies color of the Head region when it is idle.
FBPropertyColorAndAlpha Color
Read Write Property: Text color.
double mWidthScale
Element display region width scale factor compared with intrinsic width value.
class FBPropertyBaseEnum< enum FBHUDElementHAlignment > FBPropertyHUDElementHAlignment
class FBPropertyBaseEnum< enum FBHUDElementVAlignment > FBPropertyHUDElementVAlignment
double mX
Element display region left bottom corner's X coordinate.
FBPropertyHUDElementHAlignment Justification
Read Write Property: Specifies if the justification of the HUD element is Left, Right, or Center.
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool