Skip to content

Conversation

@bnjm
Copy link
Contributor

@bnjm bnjm commented Nov 26, 2017

Implements support for material property fillMode: https://developer.apple.com/documentation/scenekit/scnfillmode?language=objc

@bnjm
Copy link
Contributor Author

bnjm commented Nov 26, 2017

Currently works by setting the fillMode value to 0 or 1 i.e. material={{ fillMode: 0 }} corresponding to https://developer.apple.com/documentation/scenekit/scnfillmode/scnfillmodelines?language=objc

However even though it works it shows a failed prop type warning. I modelled this loosely on the already implemented blendMode implementation, which works like material={{ blendMode: 2 }}, but shows the same warning:

img_1550

Maybe @macrozone knows what's going on here?

@bnjm
Copy link
Contributor Author

bnjm commented Nov 27, 2017

Superseded by #115

Also re: propTypes warning, I was not declaring the props correctly, like material={{ blendMode: ARKit.BlendMode.Alpha }}

@bnjm bnjm closed this Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant