Tizen Native API
6.5
|
PrimitiveVisual Property. More...
Enumerations | |
enum | |
Enumeration for the instance of properties belonging to the PrimitiveVisual. More... |
Detailed Description
- Since:
- 3.0, DALi version 1.1.45
Enumeration Type Documentation
anonymous enum |
Enumeration for the instance of properties belonging to the PrimitiveVisual.
- Since:
- 3.0, DALi version 1.1.45
- Enumerator:
SHAPE The specific shape to render.
Name "shape", type Shape::Type (Property::INTEGER) or Property::STRING.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is Shape::SPHERE.
- See also:
- Shape::Type
MIX_COLOR The color of the shape.
Name "mixColor", type Property::VECTOR4.
- Since:
- 3.0, DALi version 1.2.4
- Note:
- Optional. If not specified, the default is Vector4(0.5, 0.5, 0.5, 1.0).
- Applies to ALL shapes.
SLICES The number of slices as you go around the shape.
Name "slices", type Property::INTEGER. For spheres and conical frustums, this determines how many divisions there are as you go around the object.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is 128.
- Applies to:
- The range is from 1 to 255.
STACKS The number of stacks as you go down the shape.
Name "stacks", type Property::INTEGER. For spheres, 'stacks' determines how many layers there are as you go down the object.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is 128.
- Applies to:
- The range is from 1 to 255.
SCALE_TOP_RADIUS The scale of the radius of the top circle of a conical frustum.
Name "scaleTopRadius", type Property::FLOAT.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is 1.0f.
- Applies to:
- Only values greater than or equal to 0.0f are accepted.
SCALE_BOTTOM_RADIUS The scale of the radius of the bottom circle of a conical frustum.
Name "scaleBottomRadius", type Property::FLOAT.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is 1.5f.
- Applies to:
- Only values greater than or equal to 0.0f are accepted.
SCALE_HEIGHT The scale of the height of a conic.
Name "scaleHeight", type Property::FLOAT.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is 3.0f.
- Applies to:
- Only values greater than or equal to 0.0f are accepted.
SCALE_RADIUS The scale of the radius of a cylinder.
Name "scaleRadius", type Property::FLOAT.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is 1.0f.
- Applies to:
- Only values greater than or equal to 0.0f are accepted.
SCALE_DIMENSIONS The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
Name "scaleDimensions", type Property::VECTOR3.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is Vector3::ONE.
- Applies to:
- Each vector3 parameter should be greater than or equal to 0.0f.
BEVEL_PERCENTAGE Determines how bevelled the cuboid should be, based off the smallest dimension.
Name "bevelPercentage", type Property::FLOAT. Bevel percentage ranges from 0.0 to 1.0. It affects the ratio of the outer face widths to the width of the overall cube.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is 0.0f (no bevel).
- Applies to:
- The range is from 0.0f to 1.0f.
BEVEL_SMOOTHNESS Defines how smooth the bevelled edges should be.
Name "bevelSmoothness", type Property::FLOAT.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is 0.0f (sharp edges).
- Applies to:
- The range is from 0.0f to 1.0f.
LIGHT_POSITION The position, in stage space, of the point light that applies lighting to the model.
Name "lightPosition", type Property::VECTOR3. This is based off the stage's dimensions, so using the width and height of the stage halved will correspond to the center, and using all zeroes will place the light at the top left corner.
- Since:
- 3.0, DALi version 1.1.45
- Note:
- Optional. If not specified, the default is an offset outwards from the center of the screen.
- Applies to ALL shapes.