overte-AleziaKurdis/libraries/entities/src/SkyboxPropertyGroup.h.in
2024-09-08 21:09:00 -07:00

53 lines
1.3 KiB
C

//
// SkyboxPropertyGroup.h
// libraries/entities/src
//
// Created by Brad Hefta-Gaub on 12/4/13.
// Copyright 2013 High Fidelity, Inc.
// Copyright 2023 Overte e.V.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// SPDX-License-Identifier: Apache-2.0
//
#ifndef hifi_SkyboxPropertyGroup_h
#define hifi_SkyboxPropertyGroup_h
#include <stdint.h>
#include <glm/glm.hpp>
#include <ColorUtils.h>
#include "PropertyGroup.h"
#include "EntityItemPropertiesMacros.h"
class EntityItemProperties;
class EncodeBitstreamParams;
class OctreePacketData;
class EntityTreeElementExtraEncodeData;
class ReadBitstreamToTreeParams;
class ScriptEngine;
class ScriptValue;
/*@jsdoc
* A skybox is defined by the following properties:
* @typedef {object} Entities.Skybox
* @property {Color} color=0,0,0 - Sets the color of the sky if <code>url</code> is <code>""</code>, otherwise modifies the
* color of the cube map image.
* @property {string} url="" - A cube map image that is used to render the sky.
*/
class SkyboxPropertyGroup : public PropertyGroup {
public:
ENTITY_PROPERTY_GROUP_METHODS(SkyboxPropertyGroup)
static const glm::u8vec3 DEFAULT_COLOR;
protected:
@Skybox_GROUP_PROPS@
};
#endif // hifi_SkyboxPropertyGroup_h