Skip to content

Setting width by percentage #23

@arafat1023

Description

@arafat1023

is there any i can set the width by percantage(like 100%). I know right now i can do it by width={400}

<GLTFModel
                                                            src={this.state.apiUrl + '/api/v1/visitImageRequirementInfo/getImageByImagePathId?imagePath=' + this.props.filePathing} >
                                                            <AmbientLight color={0xffffff}/>
                                                            <DirectionLight color={0xffffff} position={{x:100,y:200,z:100}}/>
                                                            <DirectionLight color={0xff00ff} position={{x:-100,y:200,z:-100}}/>
                                                        </GLTFModel>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions