APEX ForceField Module: nvidia::apex::ForceFieldPreview Class Reference

NVIDIA APEX

nvidia::apex::ForceFieldPreview Class Reference

APEX asset preview force field asset. More...

#include <ForceFieldPreview.h>

List of all members.

Public Member Functions

virtual void setIconScale (float scale)=0
virtual void setDetailLevel (uint32_t detail)=0

Protected Member Functions

 ForceFieldPreview ()

Detailed Description

APEX asset preview force field asset.


Constructor & Destructor Documentation

nvidia::apex::ForceFieldPreview::ForceFieldPreview ( ) [inline, protected]

Member Function Documentation

virtual void nvidia::apex::ForceFieldPreview::setDetailLevel ( uint32_t  detail) [pure virtual]

Set the detail level of the preview rendering by selecting which features to enable. Any, all, or none of the following masks may be added together to select what should be drawn. The defines for the individual items are FORCEFIELD_DRAW_NOTHING, FORCEFIELD_DRAW_ICON, FORCEFIELD_DRAW_BOUNDARIES, FORCEFIELD_DRAW_WITH_CYLINDERS. All items may be drawn using the macro FORCEFIELD_DRAW_FULL_DETAIL and FORCEFIELD_DRAW_FULL_DETAIL_BOLD.

virtual void nvidia::apex::ForceFieldPreview::setIconScale ( float  scale) [pure virtual]

Set the scale of the icon. The unscaled icon has is 1.0x1.0 game units. By default the scale of the icon is 1.0. (unscaled)


The documentation for this class was generated from the following file:

Generated on Fri Dec 15 2017 13:58:31
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.